Skip to content

Commit 4b842fc

Browse files
isdnnicolas-grekas
authored andcommitted
for #49320
1 parent 4b850da commit 4b842fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhpExecutableFinder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function find(bool $includeArgs = true)
5656
$args = $includeArgs && $args ? ' '.implode(' ', $args) : '';
5757

5858
// PHP_BINARY return the current sapi executable
59-
if (\PHP_BINARY && \in_array(\PHP_SAPI, ['cgi-fcgi', 'cli', 'cli-server', 'phpdbg'], true)) {
59+
if (\PHP_BINARY && \in_array(\PHP_SAPI, ['cli', 'cli-server', 'phpdbg'], true)) {
6060
return \PHP_BINARY.$args;
6161
}
6262

0 commit comments

Comments
 (0)