Skip to content

Commit

Permalink
Update php versions
Browse files Browse the repository at this point in the history
This change adds php 80, 81 and 82 to the missing places.
And removes .bak file from the read me.
Updating the readme to add php 8.2
Add php limit extension for php 6, 7 and 8
  • Loading branch information
master3395 committed Jan 28, 2024
1 parent 9110d78 commit 0022661
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 56 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Web Hosting Control Panel that uses OpenLiteSpeed as the underlying Web Server.

# Supported PHP Versions

* PHP 8.2
* PHP 8.1
* PHP 8.0
* PHP 7.4
Expand Down
52 changes: 0 additions & 52 deletions README.md.bak

This file was deleted.

2 changes: 1 addition & 1 deletion install/php-configs/www.conf
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ slowlog = /var/log/php-fpm/www-slow.log
; exectute php code.
; Note: set an empty value to allow all extensions.
; Default Value: .php
;security.limit_extensions = .php .php3 .php4 .php5
;security.limit_extensions = .php .php3 .php4 .php5 .php7 .php8

; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
; the current environment.
Expand Down
6 changes: 3 additions & 3 deletions install/phpconfigs/php80.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
php74.confextprocessor php74 {
php74.confextprocessor php80 {
type lsapi
address uds://tmp/lshttpd/lsphp74.sock
address uds://tmp/lshttpd/lsphp80.sock
maxConns 50
initTimeout 60
retryTimeout 0
persistConn 1
respBuffer 0
autoStart 1
path /usr/local/lsws/lsphp74/bin/lsphp
path /usr/local/lsws/lsphp80/bin/lsphp
memSoftLimit 2047M
memHardLimit 2047M
procSoftLimit 400
Expand Down
16 changes: 16 additions & 0 deletions install/phpconfigs/php81.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
php74.confextprocessor php81 {
type lsapi
address uds://tmp/lshttpd/lsphp81.sock
maxConns 50
initTimeout 60
retryTimeout 0
persistConn 1
respBuffer 0
autoStart 1
path /usr/local/lsws/lsphp81/bin/lsphp
memSoftLimit 2047M
memHardLimit 2047M
procSoftLimit 400
procHardLimit 500
}

16 changes: 16 additions & 0 deletions install/phpconfigs/php82.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
php74.confextprocessor php82 {
type lsapi
address uds://tmp/lshttpd/lsphp82.sock
maxConns 50
initTimeout 60
retryTimeout 0
persistConn 1
respBuffer 0
autoStart 1
path /usr/local/lsws/lsphp82/bin/lsphp
memSoftLimit 2047M
memHardLimit 2047M
procSoftLimit 400
procHardLimit 500
}

0 comments on commit 0022661

Please sign in to comment.