Bypass sigchild detection if phpinfo is not available

This commit is contained in:
Jordi Boggiano 2014-02-18 13:56:35 +01:00
parent c4ffe02100
commit 714aee9bc0
1 changed files with 4 additions and 0 deletions

View File

@ -1024,6 +1024,10 @@ class Process
return self::$sigchild;
}
if (!function_exists('phpinfo')) {
return self::$sigchild = false;
}
ob_start();
phpinfo(INFO_GENERAL);