====== Plesk >= 12.0 multi lsphps configuration for LSWS ====== **With the release of Plesk-php, this solution is now deprecated.** You can create lsphp5x one by one from LSWS Admin console. If you prefer using the command line instead of the GUI tool, you can edit the LSWS configuration file (usually /usr/local/lsws/conf/httpd_config.xml) by adding the following to the section: lsapi lsphp70
uds://tmp/lshttpd/lsphp70.sock
35 PHP_LSAPI_MAX_REQUESTS=5000 PHP_LSAPI_CHILDREN=35 60 0 1 0 1 $SERVER_ROOT/lsphp70/bin/lsphp 100 1 10 0 2048M 2048M 400 500
lsapi lsphp56
uds://tmp/lshttpd/lsphp56.sock
35 PHP_LSAPI_MAX_REQUESTS=5000 PHP_LSAPI_CHILDREN=35 60 0 1 0 1 $SERVER_ROOT/lsphp56/bin/lsphp 100 1 10 0 2048M 2048M 400 500
lsapi lsphp55
uds://tmp/lshttpd/lsphp55.sock
35 PHP_LSAPI_MAX_REQUESTS=5000 PHP_LSAPI_CHILDREN=35 60 0 1 0 1 $SERVER_ROOT/lsphp55/bin/lsphp 10 2048M 2048M 400 500
lsapi lsphp54
uds://tmp/lshttpd/lsphp54.sock
35 PHP_LSAPI_MAX_REQUESTS=5000 PHP_LSAPI_CHILDREN=35 60 0 1 0 1 /usr/local/lsws/lsphp54/bin/lsphp 10 2048M 2048M 400 500
lsapi lsphp53
uds://tmp/lshttpd/lsphp53.sock
35 PHP_LSAPI_MAX_REQUESTS=5000 PHP_LSAPI_CHILDREN=35 60 0 1 0 1 /usr/local/lsws/lsphp53/bin/lsphp 10 2048M 2048M 400 500
lsapi lsphp52
uds://tmp/lshttpd/lsphp52.sock
35 PHP_LSAPI_MAX_REQUESTS=5000 PHP_LSAPI_CHILDREN=35 60 0 1 0 1 /usr/local/lsws/lsphp52/bin/lsphp 10 2048M 2048M 400 500