Skip to content

Commit 0d1c10d

Browse files
committed
Comments out special handling for reloading PHP-FPM on CentOS7, refs #3739
1 parent e004715 commit 0d1c10d

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)