Bug #13140: setting multiple include_path for php that run on windows server

From: Date: Tue, 04 Sep 2001 19:12:11 +0000
Subject: Bug #13140: setting multiple include_path for php that run on windows server
Groups: php.dev 
Request: Send a blank email to php-dev+get-65083@lists.php.net to get a copy of this message
From:             rivaisalim@hotmail.com
Operating system: Windows 2000
PHP version:      4.0.4
PHP Bug Type:     *Directory/Filesystem functions
Bug description:  setting multiple include_path for php that run on windows server

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 bug report at: http://bugs.php.net/?id=13140&edit=1



Thread (2 messages)

« previous php.dev (#65083) next »