[Process] PHP_BINARY return the current process
This commit is contained in:
parent
241e4fccbd
commit
e2fc3cde90
@ -33,7 +33,7 @@ class PhpExecutableFinder
|
||||
*/
|
||||
public function find()
|
||||
{
|
||||
if (defined('PHP_BINARY') && PHP_BINARY) {
|
||||
if (defined('PHP_BINARY') && PHP_BINARY && ('php' === pathinfo(PHP_BINARY, PATHINFO_FILENAME))) {
|
||||
return PHP_BINARY;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user