include path

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

include path

Post 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?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Have you done a search on your system for php.ini? Make sure you are editing the right one first.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

it was the wrong ini file :oops: thanks everah
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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?
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Batman's mising slacks :lol:

It's shaving cream
User avatar
dibyendrah
Forum Contributor
Posts: 491
Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:

Post 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




:)
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

oh yea... hadn't thought of that

PS - I like your avatar :D
Post Reply