File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments