Skip to content

Commit 077c4a5

Browse files
author
Till Brehm
committed
Merge branch 'master' into 'stable-3.1'
Comments out special handling for reloading PHP-FPM on CentOS7, refs #3739 As per #3739 and #3816 , comment out special handling for PHP-FPM reloading on CentOS7, allowing multiple FPM processes to co-exist. See merge request !306
2 parents 224dde7 + 0d1c10d commit 077c4a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

server/mods-available/web_module.inc.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,15 @@ function restartPHP_FPM($action = 'restart') {
269269
$initcommand = '/sbin/start-stop-daemon --stop --signal USR2 --quiet --pidfile /var/run/php5-fpm.pid --name php5-fpm';
270270
}
271271
// And the next workaround, php-fpm reloads in centos 7 downt work as well.
272+
/*
272273
if(preg_match('/^ID=centos/m', $tmp) && preg_match('/^VERSION_ID="7"/m', $tmp)) {
273274
$initcommand = 'systemctl restart php-fpm.service';
274275
}
276+
*/
275277
unset($tmp);
276278
}
277279
}
278-
280+
/*
279281
if($action == 'reload') {
280282
// And the next workaround, php-fpm reloads in centos 7 downt work as well.
281283
if(file_exists('/etc/os-release')) {
@@ -287,6 +289,7 @@ function restartPHP_FPM($action = 'restart') {
287289
unset($tmp);
288290
}
289291
}
292+
*/
290293
}
291294

292295
$retval = array('output' => '', 'retval' => 0);

0 commit comments

Comments
 (0)