PHP INI changes:
upload_max_filesize = 64M
max_file_uploads = 200
post_max_size = 64M
memory_limit = 2000M
max_execution_time = 120
Kill PHP Process and Restart Commands
killall lsphp
killall lsphpnew
service lsws restart
/usr/local/lsws/bin/lswsctrl restart
sudo systemctl restart lsws
WebAdmin Changes
Go to Server Configuration External App Tab Edit lsphp with following values (for $5 droplet)
Max Connections
2000
Environment
PHP_LSAPI_CHILDREN=2000
LSAPI_AVOID_FORK=200M
PHP_LSAPI_MAX_REQUESTS=10000
Gracefull Restart System.
Error file locations
cd /usr/local/lsws/logs
Logs can be of following types:
- access.log
- error.log
- lsrestart.log
- stderr.log