diff -Nur --no-dereference smeserver-php-3.0.0.old/createlinks smeserver-php-3.0.0/createlinks --- smeserver-php-3.0.0.old/createlinks 2021-10-24 01:31:44.487000000 -0400 +++ smeserver-php-3.0.0/createlinks 2021-10-24 01:43:06.666000000 -0400 @@ -13,6 +13,7 @@ /etc/opt/remi/php73/php.ini /etc/opt/remi/php74/php.ini /etc/opt/remi/php80/php.ini +/etc/opt/remi/php81/php.ini )){ templates2events($file, qw( console-save @@ -42,7 +43,7 @@ templates2events($file, $event); } -foreach $ver (qw( 55 56 70 71 72 73 74 80)){ +foreach $ver (qw( 55 56 70 71 72 73 74 80 81)){ 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"); @@ -73,6 +74,7 @@ /etc/logrotate.d/php73-php-fpm /etc/logrotate.d/php74-php-fpm /etc/logrotate.d/php80-php-fpm + /etc/logrotate.d/php81-php-fpm )){ templates2events($file, qw(webapps-update bootstrap-console-save smeserver-php-update)); } @@ -93,7 +95,7 @@ } #php7* -foreach $ver (qw( 70 71 72 73 74 80)){ +foreach $ver (qw( 70 71 72 73 74 80 81)){ 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 -Nur --no-dereference 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 2021-10-24 01:31:44.395000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/cron.daily/tmpwatch-php-fpm/10Defaults 2021-10-24 01:43:27.351000000 -0400 @@ -1,5 +1,5 @@ -for VER in php php55 php56 php70 php71 php72 php73 php74 php80; do +for VER in php php55 php56 php70 php71 php72 php73 php74 php80 php81; 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 -Nur --no-dereference 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 2021-10-24 01:31:44.395000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/logrotate.d/php-fpm/php-fpm 2021-10-24 01:44:03.890000000 -0400 @@ -19,6 +19,7 @@ /sbin/e-smith/service php73-php-fpm reload >/dev/null 2>&1 || true /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 endscript } @@ -39,6 +40,7 @@ /sbin/e-smith/service php73-php-fpm reload >/dev/null 2>&1 || true /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 endscript } "; diff -Nur --no-dereference 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 2021-10-24 01:31:44.508000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/rsyslog.conf/32php 2021-10-24 01:45:09.816000000 -0400 @@ -20,4 +20,5 @@ & stop :programname, startswith, "php80-fpm" /var/log/php/php80/php80-fpm.log & stop - +:programname, startswith, "php81-fpm" /var/log/php/php81/php81-fpm.log +& stop diff -Nur --no-dereference smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php81/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php81/php.ini --- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php81/php.ini 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php81/php.ini 2021-10-24 01:46:44.547000000 -0400 @@ -0,0 +1 @@ +MORE_DATA={ PHP_VERSION => 81, INCLUDE_PATH => ".:/opt/remi/php81/root/usr/share/pear:/opt/remi/php81/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php81/root/usr/lib64/php/modules" } diff -Nur --no-dereference 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 2021-10-24 01:31:44.504000000 -0400 +++ smeserver-php-3.0.0/root/usr/share/perl5/vendor_perl/esmith/php.pm 2021-10-24 01:48:13.671000000 -0400 @@ -60,6 +60,7 @@ 'php73-php-fpm' 'php74-php-fpm' 'php80-php-fpm' +'php81-php-fpm' this will return only available and enabled print "'$_'\n" for listPHPVersionFPM('enabled'); @@ -95,6 +96,7 @@ '73' '74' '80' +'81' this will returnonly available and enabled print "'$_'\n" for listPHPVersionShort('enabled'); @@ -124,6 +126,8 @@ 73 => php73-php-fpm 74 => php74-php-fpm 80 => php80-php-fpm +81 => php81-php-fpm + =cut sub listPHPVersionHash { my $status = shift || 'all'; @@ -154,6 +158,8 @@ 73 => php73 74 => php74 80 => php80 +81 => php81 + =cut sub listPHPVersionHashShort { my $status = shift || 'all';