How to set find pathes for PHP CLI?
| From: | Tir | Date: | Tue, 14 Jul 2009 16:46:07 +0000 |
| Subject: | How to set find pathes for PHP CLI? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-295370@lists.php.net to get a copy of this message | ||
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"?