Skip to content

Commit

Permalink
backport using PHP_BINARY for "php" binary path information for conso…
Browse files Browse the repository at this point in the history
…le environment
  • Loading branch information
samsonasik committed Jul 23, 2018
1 parent 377bbee commit 4f535b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handler/LoggingFactory.php
Expand Up @@ -36,7 +36,7 @@ public function __invoke($container)
} else {
$serverUrl = \php_uname('n');
$request = new ConsoleRequest();
$requestUri = ':'. \basename(\getcwd()) .' ' . \get_current_user() . '$ php ' . $request->getScriptName() . ' ' . $request->toString();
$requestUri = ':'. \basename(\getcwd()) .' ' . \get_current_user() . '$ ' . \PHP_BINARY . ' ' . $request->getScriptName() . ' ' . $request->toString();
}

$config = $container->get('config');
Expand Down

0 comments on commit 4f535b8

Please sign in to comment.