Skip to content

Commit c91c7a6

Browse files
author
Till Brehm
committed
Fixed: FS#3721 - php-fpm brocken
1 parent 6db0362 commit c91c7a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2664,6 +2664,8 @@ private function php_fpm_pool_update ($data, $web_config, $pool_dir, $pool_name,
26642664
$tpl->newTemplate('php_fpm_pool.conf.master');
26652665
$tpl->setVar('apache_version', $app->system->getapacheversion());
26662666

2667+
$apache_modules = $app->system->getapachemodules();
2668+
26672669
// Use sockets, but not with apache 2.4 on centos (mod_proxy_fcgi) as socket support is buggy in that version
26682670
if($data['new']['php_fpm_use_socket'] == 'y' && in_array('fastcgi_module',$apache_modules)){
26692671
$use_tcp = 0;

0 commit comments

Comments
 (0)