Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

php ignores include_path configuration

phpinfo() says what ini file it uses, but doesn't really use it.

8:53 pm on Dec 3, 2004 (gmt 0)

New User

10+ Year Member

joined:Aug 29, 2003
votes: 0

I've been working on setting up a test platform with two servers connected to a file server. Both web servers are running apache2 and one runs php 4.3.9 while the other runs php 5.0.2.

The biggest problem is that php doesn't seem to install the php.ini files where they're suppose to go. I managed to find where php 4.3.9's ini file goes by using phpinfo(), but when I do the same with php 5.0.2, it just seems to ignore certain directives in the php.ini file that is in the correct location.

I'm trying to get 5.0.2 to use the php.ini include_path value, but despite it being specified in the ini file, and despite restarting apache2 several times, it still is using only "./:" as the include_path. Has anyone else come across this bug with 5.0.2?

7:20 pm on Dec 4, 2004 (gmt 0)


WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
votes: 0

have you checked to make sure that you dont have multiple ini files? Have you tried changing other values to see if they are picked up?