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-03-08 12:22:38.046000000 -0500 +++ smeserver-php-3.0.0/createlinks 2021-03-08 12:42:19.128000000 -0500 @@ -108,7 +108,7 @@ safe_symlink('/etc/e-smith/templates-default/template-begin-shell', 'root/etc/e-smith/templates/etc/cron.daily/tmpwatch-php-fpm/template-begin'); -foreach my $event (qw( ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update )) { +foreach my $event (qw( ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update post-install post-upgrade)) { event_link( "php-pool-dirs", $event, "90"); } diff -Nur --no-dereference smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays smeserver-php-3.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2021-03-08 12:22:38.071000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2021-03-08 12:52:41.357000000 -0500 @@ -15,11 +15,10 @@ # configuration to enable php-fpm for the ibay if ($fastcgi_mod eq 'mod_proxy_fcgi') { + use esmith::php; my $version = PhpFpmVersionToUse($ibay); my $name = lc $key; my $FilesMathes = ( ($ibay->prop('AllowPHTML') || 'disabled') eq 'enabled' ) ? '(xml|phtml|html|htm|php|phar)': '(phar|php)'; - - $OUT .=<<"_EOF"; SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=\$1