From:             ava1973 at hotmail dot com
Operating system: w2k8r2
PHP version:      5.4.12
Package:          *Directory/Filesystem functions
Bug Type:         Bug
Bug description:open_basedir with multiple folders

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 bug report at https://bugs.php.net/bug.php?id=64275&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64275&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64275&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=64275&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=64275&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=64275&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=64275&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=64275&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=64275&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=64275&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=64275&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=64275&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=64275&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=64275&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64275&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=64275&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=64275&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=64275&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64275&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=64275&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64275&r=mysqlcfg

Reply via email to