Actions
Bug #3884
closed
MK
Restarting Web GUI does not restart PHP-FPM
Bug #3884:
Restarting Web GUI does not restart PHP-FPM
Start date:
09/22/2014
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:
All
Description
For some reason (I'm still looking through the logs trying to find out why), PHP-FPM crashed on one of my boxes. Since I couldn't restart the box without interrupting a large non-resumable download that was going through it, I assumed that I could log in with SSH and choose "Restart webconfigurator" to take care of this.
However, running "Restart webConfigurator" does not restart PHP. In the end, I had to go through the source code and find the command to run by hand (which did work).
The code in /etc/rc.restart_webgui and /etc/inc/system.inc should be modified to stop and start (respectively) PHP-FPM along with Lighttpd.
I can submit a Pull Request on Github for this if you'd like. It's a pretty simple fix.
Actions