OpenLiteSpeed restart PHP
On OpenLiteSpeed, if you edit php.ini or installed a PHP module, restart OpenLiteSpeed won’t show the changes. You will need to restart PHP process.
You can do this by killing all PHP process with
1 |
killall -9 lsphp |
Or you can create a file
1 |
touch /usr/local/lsws/admin/tmp/.lsphp_restart.txt |
If you need PHP restarted just for a web site, run
1 |
touch /home/USER1/.lsphp_restart.txt |