On Tue, 2009-07-14 at 20:46 +0400, Tir wrote:
> I have many scripts that I need execute with PHP CLI. They are located in a 
> few directories. I don't want to write full path to script every time when I 
> start it. Therefore I've added this paths to the PATH environment variable. 
> But PHP don't find my scripts. How could i set paths on which PHP would find 
> my script when i call e.g. "php -f my_script.php"? 
When you set the paths, did you restart the computer? Windows needs a
full restart if you edit your paths; Linux machines won't, but you've
not mentioned  what your OS is.


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

Reply via email to