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:             Assigned
+Status:             Feedback
 Type:               Bug
 Package:            Safe Mode/open_basedir
 Operating System:   Windows 7
 PHP Version:        5.3SVN-2010-11-19 (SVN)
 Assigned To:        pajoye
 Block user comment: N
 Private report:     N

 New Comment:

Fixed in trunk and 5.3



please try using a snapshot.You can fetch a snapshot of trunk or 5.3
here:



http://rmtools.php.net/snaps/



Fetch a snap equal or superior to r305698 (should show up shortly).


Previous Comments:
------------------------------------------------------------------------
[2010-11-23 23:14:57] paj...@php.net

Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=305698
Log: - fixed #53352

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