#21257 [Com]: c:\php4\pear

From: Date: Sat, 11 Jan 2003 20:14:07 +0000
Subject: #21257 [Com]: c:\php4\pear
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12268@lists.php.net to get a copy of this message
ID: 21257 Comment by: larsson.elias@telia.com Reported By: thomas@koms.dk Status: Feedback Bug Type: PEAR related Operating System: Windows XP PHP Version: 4.3.0 New Comment: No difference if I use an older version of Apache... This error only seem to arise if absolute paths are used in the include or require functions. Which lead me to believe there was something wrong with the include_path setting in php.ini. But I did use the same line I used in PHP 4.2 (I did not recycle the old php.ini!), which also worked back then. Relative paths still work as they are supposed to. Previous Comments: ------------------------------------------------------------------------ [2003-01-10 17:43:58] larsson.elias@telia.com Same here... Windows XP (SP1) PHP 4.3.0 (SAPI.. but tried CGI executable as well - no luck) Apache 2.0.43 Warning: main(/me/include/config.php) [function.main]: failed to create stream: No such file or directory in E:\http\me\index.php on line 3 Fatal error: main() [function.main]: Failed opening required '/me/include/config.php' (include_path='.;e:\http') in E:\http\me\index.php on line 3 ..and the code... require('/me/include/config.php'); And the same is true for include(). Either I'm being really daft configuring PHP/Apache... or this is actually a bug - and I do have it. Either way, I'm officially going insane. Hope I've been of some kind of help... ------------------------------------------------------------------------ [2002-12-29 14:26:12] iliaa@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-12-28 17:23:28] thomas@koms.dk Getting this error wasent the error fixed in 4.3.0 final Thomas Warning: main(language/lang-.php) [function.main]: failed to create stream: No such file or directory in C:\webserver\web\mainfile.php on line 75 Warning: main() [function.main]: Failed opening 'language/lang-.php' for inclusion (include_path='.;c:\php4\pear') in C:\webserver\web\mainfile.php on line 75 Warning: head(themes//theme.php) [function.head]: failed to create stream: No such file or directory in C:\webserver\web\header.php on line 36 Warning: head() [function.head]: Failed opening 'themes//theme.php' for inclusion (include_path='.;c:\php4\pear') in C:\webserver\web\header.php on line 36 Fatal error: Call to undefined function: themeheader() in C:\webserver\web\header.php on line 68 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21257&edit=1

« previous php.pear.dev (#12268) next »