Code:
sudo /etc/init.d/name_of_service stop
Code:
sudo /etc/init.d/name_of_service start
Code:
sudo /etc/init.d/name_of_service restart
PHP is used in conjunction with Apache, so there isn't (as far as I know) a separate PHP service. If you make changes to your PHP setup, you'll need to restart Apache.
Installing Apache and MySQL will create startup entries in the /etc/rc
You can check what's being started at boot by issuing the following command
Code:
dmesg
No comments:
Post a Comment