Bug #11612: php_include completely non-functional
| From: | uhl at cis dot ohio-state dot edu | Date: | Fri, 22 Jun 2001 05:54:20 +0000 |
| Subject: | Bug #11612: php_include completely non-functional | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57631@lists.php.net to get a copy of this message | ||
From: uhl@cis.ohio-state.edu
Operating system: Win2k Server
PHP version: 4.0.5
PHP Bug Type: PHP options/info functions
Bug description: php_include completely non-functional
Using Apache 1.3.19 on win2k with php as a library.
If i put any value at all for include_path in php.ini, it causes a message like this on every page
served:
Warning: Failed opening '/path/to/file.php' for inclusion
(include_path='\include\path;.') in Unknown on line 0
So, for an actual example, it would look like this:
Warning: Failed opening '/www/demoxpress.com/html/test/phpinfo.php' for inclusion
(include_path='\php\pear;.') in Unknown on line 0
As long as I keep the include_path commented out or only assign an empty string, it works fine
(except for not having an include path).
--
Edit Bug report at: http://bugs.php.net/?id=11612&edit=1