diff -ruN smeserver-php-3.0.0.old/createlinks smeserver-php-3.0.0/createlinks --- smeserver-php-3.0.0.old/createlinks 2023-02-13 14:14:05.984378854 +0000 +++ smeserver-php-3.0.0/createlinks 2023-02-13 14:18:51.721088697 +0000 @@ -14,6 +14,7 @@ /etc/opt/remi/php74/php.ini /etc/opt/remi/php80/php.ini /etc/opt/remi/php81/php.ini +/etc/opt/remi/php82/php.ini )){ templates2events($file, qw( console-save @@ -43,7 +44,7 @@ templates2events($file, $event); } -foreach $ver (qw( 55 56 70 71 72 73 74 80 81)){ +foreach $ver (qw( 55 56 70 71 72 73 74 80 81 82)){ foreach $service ( "php$ver-php-fpm" ){ foreach $event (qw(webapps-update ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers )){ safe_symlink("reload-or-restart", "root/etc/e-smith/events/$event/services2adjust/$service"); @@ -65,17 +66,18 @@ foreach $file (qw( /etc/sysconfig/php-fpm /etc/logrotate.d/php-fpm - /etc/logrotate.d/php55-php-fpm - /etc/logrotate.d/php56-php-fpm - /etc/logrotate.d/php70-php-fpm + /etc/logrotate.d/php55-php-fpm + /etc/logrotate.d/php56-php-fpm + /etc/logrotate.d/php70-php-fpm /etc/logrotate.d/php70-php-fpm /etc/logrotate.d/php71-php-fpm /etc/logrotate.d/php72-php-fpm /etc/logrotate.d/php73-php-fpm /etc/logrotate.d/php74-php-fpm - /etc/logrotate.d/php80-php-fpm + /etc/logrotate.d/php80-php-fpm /etc/logrotate.d/php81-php-fpm - )){ + /etc/logrotate.d/php82-php-fpm + )){ templates2events($file, qw(webapps-update bootstrap-console-save smeserver-php-update)); } @@ -95,7 +97,7 @@ } #php7* -foreach $ver (qw( 70 71 72 73 74 80 81)){ +foreach $ver (qw( 70 71 72 73 74 80 81 82)){ foreach $file ( "/etc/opt/remi/php$ver/php-fpm.conf", "/etc/opt/remi/php$ver/php-fpm.d/www.conf", "/etc/opt/remi/php$ver/php-fpm.d/ibays.conf", diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php81/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php81/AllowUrlFopen --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php81/AllowUrlFopen 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php81/AllowUrlFopen 2023-02-13 14:06:40.453033093 +0000 @@ -0,0 +1 @@ +Off diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php81/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php81/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php81/type 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php81/type 2023-02-13 14:06:40.453033093 +0000 @@ -0,0 +1 @@ +configuration diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php81-php-fpm/status smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php81-php-fpm/status --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php81-php-fpm/status 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php81-php-fpm/status 2023-02-13 14:06:40.453033093 +0000 @@ -0,0 +1 @@ +enabled diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php81-php-fpm/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php81-php-fpm/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php81-php-fpm/type 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php81-php-fpm/type 2023-02-13 14:06:40.454033110 +0000 @@ -0,0 +1 @@ +service diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php82/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php82/AllowUrlFopen --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php82/AllowUrlFopen 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php82/AllowUrlFopen 2023-02-13 14:06:40.453033093 +0000 @@ -0,0 +1 @@ +Off diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php82/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php82/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php82/type 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php82/type 2023-02-13 14:06:40.453033093 +0000 @@ -0,0 +1 @@ +configuration diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php82-php-fpm/status smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php82-php-fpm/status --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php82-php-fpm/status 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php82-php-fpm/status 2023-02-13 14:06:40.453033093 +0000 @@ -0,0 +1 @@ +enabled diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php82-php-fpm/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php82-php-fpm/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php82-php-fpm/type 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php82-php-fpm/type 2023-02-13 14:06:40.454033110 +0000 @@ -0,0 +1 @@ +service diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/cron.daily/tmpwatch-php-fpm/10Defaults smeserver-php-3.0.0/root/etc/e-smith/templates/etc/cron.daily/tmpwatch-php-fpm/10Defaults --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/cron.daily/tmpwatch-php-fpm/10Defaults 2023-02-13 14:14:05.972378656 +0000 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/cron.daily/tmpwatch-php-fpm/10Defaults 2023-02-13 14:21:17.001483378 +0000 @@ -1,5 +1,5 @@ -for VER in php php55 php56 php70 php71 php72 php73 php74 php80 php81; do +for VER in php php55 php56 php70 php71 php72 php73 php74 php80 php81 php82; do /usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/$VER/tmp /usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/$VER/opcache /usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/$VER/wsdlcache diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/logrotate.d/php-fpm/php-fpm smeserver-php-3.0.0/root/etc/e-smith/templates/etc/logrotate.d/php-fpm/php-fpm --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/logrotate.d/php-fpm/php-fpm 2023-02-13 14:14:05.971378640 +0000 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/logrotate.d/php-fpm/php-fpm 2023-02-13 14:22:04.417264938 +0000 @@ -20,6 +20,7 @@ /sbin/e-smith/service php74-php-fpm reload >/dev/null 2>&1 || true /sbin/e-smith/service php80-php-fpm reload >/dev/null 2>&1 || true /sbin/e-smith/service php81-php-fpm reload >/dev/null 2>&1 || true + /sbin/e-smith/service php82-php-fpm reload >/dev/null 2>&1 || true endscript } @@ -41,6 +42,7 @@ /sbin/e-smith/service php74-php-fpm reload >/dev/null 2>&1 || true /sbin/e-smith/service php80-php-fpm reload >/dev/null 2>&1 || true /sbin/e-smith/service php81-php-fpm reload >/dev/null 2>&1 || true + /sbin/e-smith/service php82-php-fpm reload >/dev/null 2>&1 || true endscript } "; diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32php smeserver-php-3.0.0/root/etc/e-smith/templates/etc/rsyslog.conf/32php --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32php 2023-02-13 14:14:05.975378705 +0000 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/rsyslog.conf/32php 2023-02-13 14:22:33.032736612 +0000 @@ -22,3 +22,5 @@ & stop :programname, startswith, "php81-fpm" /var/log/php/php81/php81-fpm.log & stop +:programname, startswith, "php82-fpm" /var/log/php/php82/php82-fpm.log +& stop diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php82/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php82/php.ini --- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php82/php.ini 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php82/php.ini 2023-02-13 14:23:29.833672870 +0000 @@ -0,0 +1 @@ +MORE_DATA={ PHP_VERSION => 82, INCLUDE_PATH => ".:/opt/remi/php82/root/usr/share/pear:/opt/remi/php82/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php82/root/usr/lib64/php/modules" } diff -ruN smeserver-php-3.0.0.old/root/usr/share/perl5/vendor_perl/esmith/php.pm smeserver-php-3.0.0/root/usr/share/perl5/vendor_perl/esmith/php.pm --- smeserver-php-3.0.0.old/root/usr/share/perl5/vendor_perl/esmith/php.pm 2023-02-13 14:14:05.984378854 +0000 +++ smeserver-php-3.0.0/root/usr/share/perl5/vendor_perl/esmith/php.pm 2023-02-13 14:27:16.160403450 +0000 @@ -61,6 +61,7 @@ 'php74-php-fpm' 'php80-php-fpm' 'php81-php-fpm' +'php82-php-fpm' this will return only available and enabled print "'$_'\n" for listPHPVersionFPM('enabled'); @@ -97,6 +98,7 @@ '74' '80' '81' +'82' this will returnonly available and enabled print "'$_'\n" for listPHPVersionShort('enabled'); @@ -127,6 +129,7 @@ 74 => php74-php-fpm 80 => php80-php-fpm 81 => php81-php-fpm +82 => php82-php-fpm =cut sub listPHPVersionHash { @@ -159,6 +162,7 @@ 74 => php74 80 => php80 81 => php81 +82 => php82 =cut sub listPHPVersionHashShort {