Bug #64275 [Opn->Nab]: open_basedir with multiple folders
| From: | ab@php.net | Date: | Fri, 10 Jan 2014 20:57:40 +0000 |
| Subject: | Bug #64275 [Opn->Nab]: open_basedir with multiple folders | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-183705@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64275&edit=1
ID: 64275
Updated by: ab@php.net
Reported by: ava1973 at hotmail dot com
Summary: open_basedir with multiple folders
-Status: Open
+Status: Not a bug
Type: Bug
Package: *Directory/Filesystem functions
Operating System: Windows Server 2008 R2
PHP Version: 5.4.12
Block user comment: N
Private report: N
New Comment:
open_basedir = 'D:\APPS\xxx\;C:\windows\temp\' should be probably it.
Previous Comments:
------------------------------------------------------------------------
[2013-02-22 12:01:02] ava1973 at hotmail dot com
Description:
------------
Hello,
Upgrading a bunch of older application to new servers, i get the hand to a
strange
behaviour:
* currently done with PHP 5.4.11 with IIS 7.5 (windows 2008R2)
* use simple phpinfo() to reveal Open_basedir values
* defined in php.ini
open_basedir = D:\APPS\xxx\;C:\windows\temp\
* Idea is to allow OLD applications to be restriced to their application path
AND the windows temp folder. Otherwhise too many change to implement to their
code.
* according to manual, this looks supported using semi-colum for windows
http://www.php.net/manual/en/ini.core.php#ini.open-basedir
Test script:
---------------
<?php phpinfo();?>
Expected result:
----------------
...
open_basedir D:\APPS\xxx\;C:\windows\temp\ D:\APPS\xxx\;C:\windows\temp\
...
Actual result:
--------------
...
open_basedir D:\APPS\xxx\ D:\APPS\xxx\
...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64275&edit=1