ID: 11612
User Update by: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
Try this:

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

Notice the "'s around the path.

--Jani


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

[2001-06-22 01:54:20] [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).  

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


Full Bug description available at: http://bugs.php.net/?id=11612


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to