Re: exec in different directory where PHP is Installed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/24/2010 11:31 PM, Bob McConnell wrote:
From: loki

PHP is installed in c:\program files\php
the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\
in the PHP script, we try to launch the command @exec(...) with a
executable located in c:\program files\ourexecutable\

it's not work :(

but if we move the PHP script from \\xxx.xxx.xxx.xxx\scriptdir\
to c:\scriptdir\ then it's work !!

everything work good EXCEPT the @EXEC command ...

Is 'C:\Program Files\PHP' in your PATH? You may need to add that
manually.

Bob McConnell

no ? but why i would need to add C:\Program Files\PHP in my path ?
why it's explain that it's work when the php script are located in any directory under c: and not under \\xxx.xxx.xxx.xxx\scriptdir\ ??

thanks by advance
stephane


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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux