Fix PHP version

This commit is contained in:
2025-08-06 16:12:42 -04:00
parent 847e04d53b
commit cf7ab414df

View File

@ -67,7 +67,7 @@ systemctl start lsws
sleep 2
# PHP and extensions
PHPVER=82
PHPVER=83
apt install -y lsphp$PHPVER lsphp$PHPVER-common lsphp$PHPVER-mysql lsphp$PHPVER-curl lsphp$PHPVER-imagick lsphp$PHPVER-intl lsphp$PHPVER-opcache lsphp$PHPVER-redis
systemctl stop lsws
@ -118,12 +118,12 @@ index {
}
scripthandler {
add lsapi:lsphp82 php
add lsapi:lsphp${PHPVER} php
}
extprocessor lsphp82 {
extprocessor lsphp${PHPVER} {
type lsapi
address uds://tmp/lshttpd/lsphp82.sock
address uds://tmp/lshttpd/lsphp${PHPVER}.sock
maxConns 35
env PHP_LSAPI_CHILDREN=35
env LSAPI_AVOID_FORK=200M
@ -132,7 +132,7 @@ extprocessor lsphp82 {
persistConn 1
respBuffer 0
autoStart 1
path /usr/local/lsws/lsphp82/bin/php
path /usr/local/lsws/lsphp${PHPVER}/bin/php
backlog 100
instances 1
priority 0