Till Brehm
2014-10-29 c91c7a6249cdbcd235fc17f6bc4104d6da93a1d9
Fixed: FS#3721 - php-fpm brocken
1 files modified
2 ■■■■■ changed files
server/plugins-available/apache2_plugin.inc.php 2 ●●●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -2664,6 +2664,8 @@
        $tpl->newTemplate('php_fpm_pool.conf.master');
        $tpl->setVar('apache_version', $app->system->getapacheversion());
        
        $apache_modules = $app->system->getapachemodules();
        // Use sockets, but not with apache 2.4 on centos (mod_proxy_fcgi) as socket support is buggy in that version
        if($data['new']['php_fpm_use_socket'] == 'y' && in_array('fastcgi_module',$apache_modules)){
            $use_tcp = 0;