/[smecontribs]/rpms/smeserver-shared-folders/contribs9/smeserver-shared-folders-0.3-support_php_fpm.patch
ViewVC logotype

Diff of /rpms/smeserver-shared-folders/contribs9/smeserver-shared-folders-0.3-support_php_fpm.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by vip-ire, Thu Jul 13 11:26:13 2017 UTC Revision 1.2 by vip-ire, Thu Jul 13 13:21:25 2017 UTC
# Line 1  Line 1 
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') {
# Line 8  diff -Nur smeserver-shared-folders-0.3/r Line 8  diff -Nur smeserver-shared-folders-0.3/r
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'} || '';


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed