RE: [PHP] Help with include path

From: Date: Mon, 03 Feb 2003 02:41:23 +0000
Subject: RE: [PHP] Help with include path
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134075@lists.php.net to get a copy of this message
> I just finished loading the OS to my PC once again, installed and > configured IIS and then installed PHP 4 but now, every page I try to open > tells me: > > Failed opening required '/icaam7/lib/stdlib.php' > (include_path='.;c:\php4\pear') Since there's a slash at the beginning, it's looking for c:\icaam7\lib\stdlib.php to require() into the file. Is that right, or should it be looking relative to the original file? > even when my php.ini (under Windows folder) tells me that the include_path > is: > > include_path = ".;c:\php\includes;/" > > and no matter how I change this line in php.ini, the include_path appears > to be set ONLY to c:\php4\pear > > Any ideas on how to change that??? Is there another php.ini file around? Did you restart your webserver? ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/

« previous php.general (#134075) next »