[PHP-DEV] Bug #11612 Updated: php_include completely non-functional From: sniper <email protected>
Date: 06/23/01

ID: 11612
Updated by: sniper
Reported By: uhl <email protected>
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 <email protected>
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 <email protected>
Try this:

include_path=".;C:pathtosomething;C:pathtosomethingelse"

Notice the "'s around the path.

--Jani

---------------------------------------------------------------------------

[2001-06-22 01:54:20] uhl <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>