Bug #11612 Updated: php_include completely non-functional
| From: | uhl at cis dot ohio-state dot edu | Date: | Fri, 22 Jun 2001 14:34:19 +0000 |
| Subject: | Bug #11612 Updated: php_include completely non-functional | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57673@lists.php.net to get a copy of this message | ||
ID: 11612
User Update by: uhl@cis.ohio-state.edu
Status: Closed
Bug Type: PHP options/info functions
Operating system: Win2k Server
PHP Version: 4.0.5
Description: php_include completely non-functional
I have it like that, with double quotes. This is an excerpt from my php.ini:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2" Windows: "\path1;\path2"
include_path = ".;c:\www\demoxpress.com\html\test"
Previous Comments:
---------------------------------------------------------------------------
[2001-06-22 09:22:41] sniper@php.net
Try this:
include_path=".;C:pathtosomething;C:pathtosomethingelse"
Notice the "'s around the path.
--Jani
---------------------------------------------------------------------------
[2001-06-22 01:54:20] uhl@cis.ohio-state.edu
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='includepath;.') 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='phppear;.') 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).
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11612