Symptoms
-
Plesk is running with an active LiteSpeed Web Server installed with the LiteSpeed extension.
-
The FastCGI PHP handler is set up at Domains > example.com > PHP Settings.
-
The PHP information page Domains > example.com > PHP Settings > View the phpinfo() displays the PHP version and/or PHP parameters different from the values at Domains > example.com > PHP Settings.
Cause
For LiteSpeed Web Server v5.3 and newer, the PHP Detached Mode was introduced (which is now the default one) - when it's active the new configuration may be applied with a delay.
Resolution
Use one of the following options:
-
Wait for the
lsphp
process to time out and fork again. -
Restart the PHP Process:
-
Open Extensions > LiteSpeed.
-
Click Restart Detached PHP Processes
Note: the PHP handler will restart the next time it is requested by the server, so the configuration might not be updated immediately.
-
Kill the PHP process:
-
Connect to the server over SSH.
-
Manually kill the processes:
# killall -9 lsphp
-