Drop PHP 7.4 support

This commit is contained in:
2022-11-26 09:34:49 +01:00
parent d1175745c8
commit d249d5ef89
6 changed files with 5 additions and 438 deletions

View File

@ -26,8 +26,8 @@ const ENABLE_SHELL_ACCESS=true; //allows users to login via ssh, when disabled o
const ADMIN_PASSWORD='MY_PASSWORD'; //password for admin interface
const SERVICE_INSTANCES=['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's']; //one character per instance - run multiple tor+php-fpm instances for load balancing, remove all but one instance if you expect less than 200 accounts. If tor starts using 100% cpu and failing circuits every few hours after a restart, add more instances. In my experience this happens around 250 hidden services per instance - run setup.php after change
const DISABLED_PHP_VERSIONS=[]; //php versions still installed on the system but no longer offered for new accounts
const PHP_VERSIONS=[5 => '7.4', 6 => '8.0']; //currently active php versions
const DEFAULT_PHP_VERSION='8.0'; //default php version
const PHP_VERSIONS=[6 => '8.0', 7 => '8.1']; //currently active php versions
const DEFAULT_PHP_VERSION='8.1'; //default php version
const PHP_CONFIG='zend_extension=opcache.so
memory_limit = 256M
error_reporting = E_ALL

View File

@ -147,8 +147,8 @@ BINARIES_GENERAL=(
'od'
'openssl'
'paste'
'php7.4'
'php8.0'
'php8.1'
'pr'
'printenv'
'printf'