Re: Error - (include_path='c:\php4\pear') in Unknown on line 0

From: Date: Mon, 01 Apr 2002 21:21:15 +0000
Subject: Re: Error - (include_path='c:\php4\pear') in Unknown on line 0
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-12869@lists.php.net to get a copy of this message
On Mon, 1 Apr 2002, Aleem wrote: > I am getting the wierdest PHP error. I couldn't find anything on the web > regarding this error. The exact error is as follows: > > [01-Apr-2002 02:45:41] PHP Warning: Failed opening > '/apache/htdocs/php.php' for inclusion (include_path='c:\php4\pear') in > Unknown on line 0 *snip* I had the same problem when I upgraded to 4.1.2. You just need to change the setting of "include_path" to search the current directory first. So, for example: include_path="." Or, if you need to use the PEAR repository: include_path=".;c:\php\pear" (replace c:\php with your PHP path) -- Ryan Grove ryan@wonko.com http://wonko.com/

« previous php.windows (#12869) next »