homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

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

10+ Year Member

Msg#: 5975 posted 8:53 pm on Dec 3, 2004 (gmt 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?



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

Msg#: 5975 posted 7:20 pm on Dec 4, 2004 (gmt 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?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved