Bug #11612 Updated: php_include completely non-functional
| From: | uhl at cis dot ohio-state dot edu | Date: | Sun, 24 Jun 2001 06:28:42 +0000 |
| Subject: | Bug #11612 Updated: php_include completely non-functional | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57814@lists.php.net to get a copy of this message | ||
ID: 11612
User Update by: uhl@cis.ohio-state.edu
Old-Status: Feedback
Status: Open
Bug Type: PHP options/info functions
Operating system: Win2k Server
PHP Version: 4.0.5
Description: php_include completely non-functional
nope, exactly the same. :(
Previous Comments:
---------------------------------------------------------------------------
[2001-06-23 06:30:59] sniper@php.net
Does it work with PHP 4.0.6?
---------------------------------------------------------------------------
[2001-06-23 06:29:42] sniper@php.net
reopened
---------------------------------------------------------------------------
[2001-06-22 10:34:19] uhl@cis.ohio-state.edu
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:wwwdemoxpress.comhtmltest"
---------------------------------------------------------------------------
[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).
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=11612