getting the path to the php executable
| From: | Jim Winstead | Date: | Mon, 18 Mar 2002 04:11:23 +0000 |
| Subject: | getting the path to the php executable | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-81407@lists.php.net to get a copy of this message | ||
is there a way to get the path of the current php executable for the cli
and cgi sapi implementations? this would be nice so that run-tests.php
could run its subprocesses with the same executable that it was run with
(so you could run the tests with a particular php executable without
having to make sure it is the one that the code inside run-tests.php
picks up).
jim