How do I restart php after modifying php.ini?
I restarted php-fpm to no avail, and there seems to be some problem with my process
Is this normal?
The picture below is the information I got from grep
Thank you! ! !
How do I restart php after modifying php.ini?
I restarted php-fpm to no avail, and there seems to be some problem with my process
Is this normal?
The picture below is the information I got from grep
Thank you! ! !
It depends on your PHP running mode. If it is fastcgi, just restart php-fpm. If it is apache mod, you need to restart the apache service
/etc/init.d/apache2 restart
Restart the Apache service and take a look.
Common: service apache2 restart
Suppose your apahce installation directory is /usr/local/apache2
apahce start command: /usr/local/apache2/bin/apachectl start apaceh
apache stop command: /usr/local/apache2/bin/apachectl stop
apache Restart command: /usr/local/apache2/bin/apachectl restart
Without interrupting the current connection when restarting, it should be: /usr/local/sbin/apachectl graceful
If apache is a linux service
service httpd start start
service httpd restart restart
service httpd stop stop the service
Ubuntu system
Start # sudo /etc/init.d/apache2 start
Stop # sudo /etc/init.d/apache2 stop
Restart # sudo /etc/init.d/apache2 restart