At 05:11 18.03.2002, you wrote:
>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).

In CLI you can pass that information from command line

$ /t/php-cvs/php -r 'echo $argv[1];' -- `(pwd)`
/home/marcus

if that is a needed feature we better implement a useful solution.
But is it really necessary?

marcus


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to