Re: How to set find pathes for PHP CLI?

From: Date: Tue, 14 Jul 2009 16:27:13 +0000
Subject: Re: How to set find pathes for PHP CLI?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-295373@lists.php.net to get a copy of this message
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. Thanks Ash www.ashleysheridan.co.uk

« previous php.general (#295373) next »