Skip to content

Commit

Permalink
[Process] Path resolution for FCGI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
romantymoshyk committed Jul 17, 2019
1 parent 25f1804 commit 22150bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Process/PhpExecutableFinder.php
Expand Up @@ -54,7 +54,7 @@ public function find($includeArgs = true)
$args = $includeArgs && $args ? ' '.implode(' ', $args) : '';

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

Expand Down

0 comments on commit 22150bc

Please sign in to comment.