Skip to content

Commit

Permalink
lsphp82 in lsws ent
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 10, 2024
1 parent e7676b4 commit 0ea2ffe
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions install/litespeed/httpd_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,26 @@
<procSoftLimit>400</procSoftLimit>
<procHardLimit>500</procHardLimit>
</extProcessor>
<extProcessor>
<type>lsapi</type>
<name>lsphp82</name>
<address>uds://tmp/lshttpd/lsphp82.sock</address>
<maxConns>35</maxConns>
<env>PHP_LSAPI_CHILDREN=35</env>
<initTimeout>60</initTimeout>
<retryTimeout>0</retryTimeout>
<persistConn>1</persistConn>
<respBuffer>0</respBuffer>
<autoStart>3</autoStart>
<path>$SERVER_ROOT/lsphp82/bin/lsphp</path>
<backlog>100</backlog>
<instances>1</instances>
<priority>0</priority>
<memSoftLimit>2047M</memSoftLimit>
<memHardLimit>2047M</memHardLimit>
<procSoftLimit>400</procSoftLimit>
<procHardLimit>500</procHardLimit>
</extProcessor>
</extProcessorList>
<scriptHandlerList>
<scriptHandler>
Expand Down Expand Up @@ -481,6 +501,11 @@
<type>lsapi</type>
<handler>lsphp81</handler>
</scriptHandler>
<scriptHandler>
<suffix>php82</suffix>
<type>lsapi</type>
<handler>lsphp82</handler>
</scriptHandler>
</scriptHandlerList>
<phpConfig>
</phpConfig>
Expand Down
4 changes: 2 additions & 2 deletions plogical/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0ea2ffe

Please sign in to comment.