Page 1 of 1

include path

Posted: Mon Aug 07, 2006 9:18 pm
by Luke
I have changed the include path in my php.ini file and then in my php script, I put echo get_include_path() and it is not reflecting my changes. I restarted apache... nothing. The only thing I can think of is that I'm changing the wrong php.ini file (one that doesn't go to anything). Could it be something else?

It thinks the include path is .;C:\php5\pear but that's not what the php.ini file says. is this a default set by pear or something?

Posted: Mon Aug 07, 2006 9:26 pm
by RobertGonzalez
Have you done a search on your system for php.ini? Make sure you are editing the right one first.

Posted: Mon Aug 07, 2006 10:57 pm
by Luke
it was the wrong ini file :oops: thanks everah

Posted: Mon Aug 07, 2006 11:11 pm
by RobertGonzalez
Not like I did much to help you... speaking of helping you, what in the name of Batman's mising slacks is that thing on your head in your avatar?

Posted: Mon Aug 07, 2006 11:19 pm
by Luke
Batman's mising slacks :lol:

It's shaving cream

Posted: Tue Aug 08, 2006 3:24 am
by dibyendrah
To search for the right php.ini file just use phpinfo() which show the details of every configuration files.

Configuration File (php.ini)Path /usr/local/Zend/etc/php.ini




:)

Posted: Tue Aug 08, 2006 9:54 am
by Luke
oh yea... hadn't thought of that

PS - I like your avatar :D