====== Plesk >= 12.0 multi lsphps configuration for LSWS ======
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
/opt/plesk/php/7.0/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
/opt/plesk/php/5.6/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
/opt/plesk/php/5.5/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
/opt/plesk/php/5.4/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
/opt/plesk/php/5.3/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
/opt/plesk/php/5.2/bin/lsphp
10
2048M
2048M
400
500