1 |
diff -Nur smeserver-shared-folders-0.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares smeserver-shared-folders-0.3_phpfpm/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares |
diff -Nur smeserver-shared-folders-0.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares smeserver-shared-folders-0.3_phpfpm/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares |
2 |
--- smeserver-shared-folders-0.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares 2017-07-13 13:13:30.560509729 +0200 |
--- smeserver-shared-folders-0.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares 2017-07-13 15:20:20.341603722 +0200 |
3 |
+++ smeserver-shared-folders-0.3_phpfpm/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares 2017-07-13 13:22:26.841662279 +0200 |
+++ smeserver-shared-folders-0.3_phpfpm/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares 2017-07-13 15:19:49.045596077 +0200 |
4 |
@@ -120,20 +120,33 @@ |
@@ -120,20 +120,33 @@ |
5 |
|
|
6 |
if ($dynamicContent eq 'enabled') { |
if ($dynamicContent eq 'enabled') { |
8 |
- $OUT .= " AddType application/x-httpd-php .php .php3 .phtml\n"; |
- $OUT .= " AddType application/x-httpd-php .php .php3 .phtml\n"; |
9 |
- $OUT .= " AddType application/x-httpd-php-source .phps\n"; |
- $OUT .= " AddType application/x-httpd-php-source .phps\n"; |
10 |
+ if ($fastcgi_mod eq 'mod_fastcgi'){ |
+ if ($fastcgi_mod eq 'mod_fastcgi'){ |
11 |
+ $OUT .= ' AddHandler php' . $key . '-fastcgi .php'; |
+ $OUT .= ' AddHandler php' . $key . '-fastcgi .php' . "\n"; |
12 |
+ } |
+ } |
13 |
+ elsif ($fastcgi_mod eq 'mod_proxy_fcgi'){ |
+ elsif ($fastcgi_mod eq 'mod_proxy_fcgi'){ |
14 |
+ my $version = $properties{'PHPVersion'} || ''; |
+ my $version = $properties{'PHPVersion'} || ''; |