Re: include_path problem on RH 8

From: Date: Tue, 04 Feb 2003 12:27:05 +0000
Subject: Re: include_path problem on RH 8
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134255@lists.php.net to get a copy of this message
Paul schrieb: > Thanks for the info. But I notice that I didn't really state the essence of my problem, > which is that I can't get PHP to locate any include directory I put in the php.ini, thus no > files I want to include get included. > > Paul schrieb: > > >>>Using RH 8, php 4.2.2, Apache 2.0, I'm getting (from phpinfo) a reported include >>>path of .:/usr/share/pear no matter what I put in the include_path in php.ini. The info also says >>>it's using /etc/php.ini as the config file. >>> >>>And, yes, I've restarted Apache many times. I've tried many variations on the >>>path syntax, and settled on the simplest possibility, but it still doesn't pick it up. At the >>>moment, /usr/share/pear is not in that statement. >>> >>>Anybody got any good ideas? >>> >>>TIA, >>>Paul > include_path = ".:..:/mydir" using "" around or left the ; infront ? No I don't think you are stupid but sometimes someone don't realize the easyest things ... what is in the error log of apache reported, enable the error_log in php.ini and take a look at that ... is there any information when apache/php is started ? maybe did you changed "/etc/php.ini" or something else ? are there two lines in "/etc/php.ini" with include_path ? at command line type $> vim /etc/php.ini search for include_path with :/include_path/ search twice with :// quit with :q -- @ Goetz Lohmann, Germany | Web-Developer & Sys-Admin \/ ------------------------------------------------------ () He's the fellow that people wonder what he does and || why the company needs him, until he goes on vacation.

« previous php.general (#134255) next »