Re: Where to put class files?
| From: | James Crow | Date: | Thu, 26 Mar 2009 12:13:58 +0000 |
| Subject: | Re: Where to put class files? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29218@lists.php.net to get a copy of this message | ||
John Hughes wrote:
I want to use PHP for command line scripting on Windows. Where would be the best place to put a class file so that it does not have to be in the same directory as every file that uses it? Check your php.ini for its include_path directive. You can create a new directory on the machine and add it to the include_path in php.ini or put your calss files in one of the listed directories.Cheers, James