diff -ruN smeserver-php-3.0.0.old/createlinks smeserver-php-3.0.0/createlinks --- smeserver-php-3.0.0.old/createlinks 2023-09-04 11:47:23.538828136 +0100 +++ smeserver-php-3.0.0/createlinks 2023-09-04 11:27:15.375207845 +0100 @@ -15,6 +15,7 @@ /etc/opt/remi/php80/php.ini /etc/opt/remi/php81/php.ini /etc/opt/remi/php82/php.ini +/etc/opt/remi/php83/php.ini )){ templates2events($file, qw( console-save @@ -44,7 +45,7 @@ templates2events($file, $event); } -foreach $ver (qw( 55 56 70 71 72 73 74 80 81 82)){ +foreach $ver (qw( 55 56 70 71 72 73 74 80 81 82 83)){ 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"); @@ -77,6 +78,7 @@ /etc/logrotate.d/php80-php-fpm /etc/logrotate.d/php81-php-fpm /etc/logrotate.d/php82-php-fpm + /etc/logrotate.d/php83-php-fpm )){ templates2events($file, qw(webapps-update bootstrap-console-save smeserver-php-update)); } @@ -97,7 +99,7 @@ } #php7* -foreach $ver (qw( 70 71 72 73 74 80 81 82)){ +foreach $ver (qw( 70 71 72 73 74 80 81 82 83)){ 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/php83/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php83/AllowUrlFopen --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php83/AllowUrlFopen 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php83/AllowUrlFopen 2023-09-04 11:26:06.456606598 +0100 @@ -0,0 +1 @@ +Off diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php83/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php83/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php83/type 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php83/type 2023-09-04 11:26:06.456606598 +0100 @@ -0,0 +1 @@ +configuration diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php83-php-fpm/status smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php83-php-fpm/status --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php83-php-fpm/status 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php83-php-fpm/status 2023-09-04 11:26:06.457606606 +0100 @@ -0,0 +1 @@ +enabled diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php83-php-fpm/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php83-php-fpm/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php83-php-fpm/type 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php83-php-fpm/type 2023-09-04 11:26:06.457606606 +0100 @@ -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-09-04 11:47:23.540828154 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/cron.daily/tmpwatch-php-fpm/10Defaults 2023-09-04 11:29:49.022548267 +0100 @@ -1,5 +1,5 @@ -for VER in php php55 php56 php70 php71 php72 php73 php74 php80 php81 php82; do +for VER in php php55 php56 php70 php71 php72 php73 php74 php80 php81 php82 php83; 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-09-04 11:47:23.541828163 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/logrotate.d/php-fpm/php-fpm 2023-09-04 11:31:00.727173818 +0100 @@ -21,6 +21,7 @@ /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 + /sbin/e-smith/service php83-php-fpm reload >/dev/null 2>&1 || true endscript } @@ -43,6 +44,7 @@ /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 + /sbin/e-smith/service php83-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-09-04 11:47:23.541828163 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/rsyslog.conf/32php 2023-09-04 11:31:58.663679257 +0100 @@ -24,3 +24,5 @@ & stop :programname, startswith, "php82-fpm" /var/log/php/php82/php82-fpm.log & stop +:programname, startswith, "php83-fpm" /var/log/php/php82/php83-fpm.log +& stop \ No newline at end of file diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php83/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php83/php.ini --- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php83/php.ini 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php83/php.ini 2023-09-04 11:33:38.542555492 +0100 @@ -0,0 +1 @@ +MORE_DATA={ PHP_VERSION => 83, INCLUDE_PATH => ".:/opt/remi/php83/root/usr/share/pear:/opt/remi/php83/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php83/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-09-04 11:47:23.541828163 +0100 +++ smeserver-php-3.0.0/root/usr/share/perl5/vendor_perl/esmith/php.pm 2023-09-04 11:46:30.320357165 +0100 @@ -62,6 +62,7 @@ 'php80-php-fpm' 'php81-php-fpm' 'php82-php-fpm' +'php83-php-fpm' this will return only available and enabled print "'$_'\n" for listPHPVersionFPM('enabled'); @@ -99,6 +100,7 @@ '80' '81' '82' +'83' this will returnonly available and enabled print "'$_'\n" for listPHPVersionShort('enabled'); @@ -130,6 +132,7 @@ 80 => php80-php-fpm 81 => php81-php-fpm 82 => php82-php-fpm +83 => php83-php-fpm =cut sub listPHPVersionHash { @@ -163,6 +166,7 @@ 80 => php80 81 => php81 82 => php82 +83 => php83 =cut sub listPHPVersionHashShort {