Ed Lazor wrote:
On Oct 13, 2006, at 11:53 AM, Richard Lynch wrote:
In windows...  There ain't nothing in phpinfo() that matches the
php.exe which I'm running...

How do you handle this?

Not a solution, but an idea... the dos chdir comand. Maybe you can run it from within your script. It tells you the current working directory and you end up indirectly knowing the location of the php.exe that you're using.

Unfortunately there's no guarantee that a) the working directory will be where the PHP binary is, or b) that the binary is called php.exe.

Richard: AFAIK there is no way to know this under windows without writing an extension to tell you.

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to