ID: 13140
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Old Bug Type: *Directory/Filesystem functions
Bug Type: *Configuration Issues
Operating System: Windows 2000
PHP Version: 4.0.4
New Comment:

Not a bug. Correct way to specify multiple paths in the INI-file on Windows:
include_path = ".;c:\php\includes"
and on Unix
include_path = ".:/php/includes"

Directly taken from php.ini...

Previous Comments:
------------------------------------------------------------------------

[2001-09-04 15:12:11] [EMAIL PROTECTED]

It looks like there is a bug for setting multiple include_path for php that run at 
windows server.

For php that runs at non windows server:
you can set
include_path    = .:/www/includes:path3
and when ever we use include it will always look for all the path starting from . and 
/www/includes and so on. If you specify your own path at include statement, eg: 
include "/test/test.php";
it will be found at "./test/test.php".

include_path    = c:\www\root\includes
single path works find with windows server.
I have problem when trying to set multiple path. 
As the php.ini comment:
include_path    = .;c:\www\root\includes
won't works (may be anything after ; are comments!)

However I can go around this by specify 1 include path and always use "." whenever I 
use include statement.
eg include "./test/test.php";

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



Edit this bug report at http://bugs.php.net/?id=13140&edit=1


-- 
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