faqts : Computers : Programming : Languages : PHP : Installation and Setup : General

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

15 of 19 people (79%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Can I set the php include path without changing php3.ini?

Jun 14th, 1999 07:00
Nathan Wallace, Padraic Renaghan


Assuming you are using Apache, with php set up to run as an 
apache module, you can set php3 directives in a .htaccess file.

To set the include path add the following line:

php3_include_path ".:/path/to/my/include/dir:/other/path"

Note that this path is interpreted like normal unix path commands.

http://www.php.net/manual/configuration.php3