From 0ea2ffe190282d3b205a579235d8b9b909db688c Mon Sep 17 00:00:00 2001 From: usmannasir Date: Wed, 10 Jan 2024 09:37:58 +0500 Subject: [PATCH] lsphp82 in lsws ent --- install/litespeed/httpd_config.xml | 25 +++++++++++++++++++++++++ plogical/upgrade.py | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/install/litespeed/httpd_config.xml b/install/litespeed/httpd_config.xml index d93d24c21..511966eda 100755 --- a/install/litespeed/httpd_config.xml +++ b/install/litespeed/httpd_config.xml @@ -414,6 +414,26 @@ 400 500 + + lsapi + lsphp82 +
uds://tmp/lshttpd/lsphp82.sock
+ 35 + PHP_LSAPI_CHILDREN=35 + 60 + 0 + 1 + 0 + 3 + $SERVER_ROOT/lsphp82/bin/lsphp + 100 + 1 + 0 + 2047M + 2047M + 400 + 500 +
@@ -481,6 +501,11 @@ lsapi lsphp81 + + php82 + lsapi + lsphp82 + diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 001de486c..49d561c33 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -2932,8 +2932,8 @@ def upgrade(branch): command = 'apt list' Upgrade.installedOutput = subprocess.check_output(shlex.split(command)).decode() - command = 'systemctl stop cpssh' - Upgrade.executioner(command, 'fix csf if there', 0) + #command = 'systemctl stop cpssh' + #Upgrade.executioner(command, 'fix csf if there', 0) ## Add LSPHP7.4 TO LSWS Ent configs