How to stop PHP service without stoping web-server service?
PHP can be stop by stopping the web-server service.
e.g.
# /etc/init.d/apache2 stop
or
# apache2ctl stop
Would it be possible to stop PHP alone without disrupting apache2 service?
When PHP is running as a standalone service, php-fpm
, you can stop it separately.
When PHP is running as an Apache module, you can't.