|
Re: include path [message #962 is a reply to message #961] |
Wed, 18 July 2007 12:47 ![Go to previous message Go to previous message](/theme/default/images/up.png) ![Go to next message Go to next message](/theme/default/images/down.png) |
AJM
Messages: 2361 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
The include_path is initially defined in your PHP.INI file, but can also be modified using the correct instruction in an htaccess file (if you are using Apache). It can also be modified using the ini_set() function in your PHP code.
In order to check that the htaccess file is being properly processed you need to run the phpinfo() function. Simply create a script called 'phpinfo.php' with the following contents
, put in in your web root, then run it from your browser.
If the contents of the htaccess file are not being processed, perhaps you have not configured Apache to deal with htaccess files. Details are provided in the installation instructions.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
Re: include path [message #964 is a reply to message #963] |
Wed, 18 July 2007 14:47 ![Go to previous message Go to previous message](/theme/default/images/up.png) ![Go to next message Go to next message](/theme/default/images/down.png) |
AJM
Messages: 2361 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
When you look at the output from phpinfo() it should be a simple matter to search for 'include_path' to see what it says. The output you supplied clearly shows that the contents of your htaccess file is not being processed.
I suggest you stop trying to configure Apache to deal with htaccess files and modify the include_path parameter directly in your PHP.INI file.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
Re: include path [message #965 is a reply to message #964] |
Wed, 18 July 2007 15:17 ![Go to previous message Go to previous message](/theme/default/images/up.png) |
NIMA
Messages: 3 Registered: July 2007
|
Junior Member |
|
|
thanks AJM!!
I finally managed to find the problem. there where multiple instances of php.ini.
I was always changing the one in the \php direcory. whereas, php was reading php.ini from the \apache directory.
problem fixed. thanks again.
|
|
|