[Process] Remove PHP_BINARY existence check
This commit is contained in:
parent
9b9fa3d262
commit
42a75bc224
@ -44,7 +44,7 @@ class PhpExecutableFinder
|
|||||||
}
|
}
|
||||||
|
|
||||||
// PHP_BINARY return the current sapi executable
|
// PHP_BINARY return the current sapi executable
|
||||||
if (defined('PHP_BINARY') && PHP_BINARY && in_array(PHP_SAPI, array('cli', 'cli-server', 'phpdbg')) && is_file(PHP_BINARY)) {
|
if (PHP_BINARY && in_array(PHP_SAPI, array('cli', 'cli-server', 'phpdbg')) && is_file(PHP_BINARY)) {
|
||||||
return PHP_BINARY.$args;
|
return PHP_BINARY.$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user