Bug #11612 Updated: php_include completely non-functional
| From: | sniper@php.net | Date: | Sat, 23 Jun 2001 10:29:43 +0000 |
| Subject: | Bug #11612 Updated: php_include completely non-functional | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57745@lists.php.net to get a copy of this message | ||
ID: 11612
Updated by: sniper
Reported By: uhl@cis.ohio-state.edu
Old-Status: Closed
Status: Open
Bug Type: PHP options/info functions
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
reopened
Previous Comments:
---------------------------------------------------------------------------
[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).
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11612&edit=2