Linux/Unix/PHP : Restart PHP-FPM
Problem :
One of my server ran out of memory because of defunct php-fpm process. Need to restart php-fpm (FastCGI Process Manager) on Linux or Unix. How to do that?
Solution :
>/etc/init.d/php-fpm restart
or
>/etc/init.d/php5-fpm restart
or
>service php5-fpm restart
If the old process refused to go away. Kill it with :
>sudo pkill php5-fpm
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+8.2k Golang : Auto-generate reply email with text/template package
+9.2k Android Studio : Indicate progression with ProgressBar example
+10.4k Golang : Meaning of omitempty in struct's field tag
+10.9k Golang : Generate random elements without repetition or duplicate
+29.4k Golang : Login(Authenticate) with Facebook example
+5.3k Unix/Linux : How to archive and compress entire directory ?
+19.5k Golang : Close channel after ticker stopped example
+4.6k Chrome : How to block socketloop.com links in Google SERP?
+11k Golang : How to determine a prime number?
+7.5k Gogland : Single File versus Go Application Run Configurations