diff --git a/install/litespeed/httpd_config.xml b/install/litespeed/httpd_config.xml index 9109caf30..cdc4b43c7 100755 --- a/install/litespeed/httpd_config.xml +++ b/install/litespeed/httpd_config.xml @@ -340,7 +340,27 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+ 2047M 400 500 - + + + lsapi + lsphp74 +
uds://tmp/lshttpd/lsphp74.sock
+ 35 + PHP_LSAPI_CHILDREN=35 + 60 + 0 + 1 + 0 + 3 + $SERVER_ROOT/lsphp74/bin/lsphp + 100 + 1 + 0 + 2047M + 2047M + 400 + 500 +
diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 6df96c15b..52a539434 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -1998,6 +1998,14 @@ service_port = 9000 command = 'systemctl stop cpssh' Upgrade.executioner(command, 'fix csf if there', 0) + + ## Add LSPHP7.4 TO LSWS Ent configs + + if os.path.exists('/usr/local/lsws/bin/openlitespeed'): + command = 'wget https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/install/litespeed/httpd_config.xml' + os.remove('/usr/local/lsws/conf/httpd_config.xml') + shutil.copy('httpd_config.xml', '/usr/local/lsws/conf/httpd_config.xml') + postfixPath = '/home/cyberpanel/postfix' pdns = '/home/cyberpanel/pdns' pureftpd = '/home/cyberpanel/ftp' diff --git a/serverStatus/litespeed/httpd_config.xml b/serverStatus/litespeed/httpd_config.xml index 9109caf30..cdc4b43c7 100755 --- a/serverStatus/litespeed/httpd_config.xml +++ b/serverStatus/litespeed/httpd_config.xml @@ -340,7 +340,27 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+ 2047M 400 500 - + + + lsapi + lsphp74 +
uds://tmp/lshttpd/lsphp74.sock
+ 35 + PHP_LSAPI_CHILDREN=35 + 60 + 0 + 1 + 0 + 3 + $SERVER_ROOT/lsphp74/bin/lsphp + 100 + 1 + 0 + 2047M + 2047M + 400 + 500 +
diff --git a/tuning/templates/tuning/phpTuning.html b/tuning/templates/tuning/phpTuning.html index ce3ae2482..622872eed 100755 --- a/tuning/templates/tuning/phpTuning.html +++ b/tuning/templates/tuning/phpTuning.html @@ -174,6 +174,7 @@ +