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