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

 ID:                 53352
 Updated by:         paj...@php.net
 Reported by:        dmitrij at stepanov dot lv
 Summary:            open_basedir does not pass through files with
                     matching path
-Status:             Open
+Status:             Assigned
 Type:               Bug
 Package:            Safe Mode/open_basedir
 Operating System:   Windows 7
 PHP Version:        5.3SVN-2010-11-19 (SVN)
-Assigned To:        
+Assigned To:        pajoye
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2010-11-19 09:53:32] dmitrij at stepanov dot lv

Description:
------------
Right after installing PHP 5.3.4RC1 i get the following error:



[19-Nov-2010 08:47:47] PHP Warning:  Unknown: open_basedir restriction
in effect.
File(C:\Users\Dmitry\Repo\InnoForce\AMD\trunc\01_Code\public_html\index.php)
is not within the allowed path(s):
(C:/Users/Dmitry/Repo/InnoForce/AMD/trunc/01_Code/;C:/Windows/Temp) in
Unknown on line 0



[19-Nov-2010 08:47:47] PHP Warning:  Unknown: failed to open stream:
Operation not permitted in Unknown on line 0



[19-Nov-2010 08:47:47] PHP Fatal error:  Unknown: Failed opening
required
'C:/Users/Dmitry/Repo/InnoForce/AMD/trunc/01_Code/public_html/index.php'
(include_path='.;C:\php5\pear') in Unknown on line 0



It was working with PHP 5.3.3.

Test script:
---------------
# open_basedir in apache config

php_admin_value open_basedir
"C:/Users/Dmitry/Repo/InnoForce/AMD/trunc/01_Code/;C:/Windows/Temp"



Expected result:
----------------
No errors

Actual result:
--------------
[19-Nov-2010 08:47:47] PHP Warning:  Unknown: open_basedir restriction
in effect.
File(C:\Users\Dmitry\Repo\InnoForce\AMD\trunc\01_Code\public_html\index.php)
is not within the allowed path(s):
(C:/Users/Dmitry/Repo/InnoForce/AMD/trunc/01_Code/;C:/Windows/Temp) in
Unknown on line 0



[19-Nov-2010 08:47:47] PHP Warning:  Unknown: failed to open stream:
Operation not permitted in Unknown on line 0



[19-Nov-2010 08:47:47] PHP Fatal error:  Unknown: Failed opening
required
'C:/Users/Dmitry/Repo/InnoForce/AMD/trunc/01_Code/public_html/index.php'
(include_path='.;C:\php5\pear') in Unknown on line 0




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



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

Reply via email to