Edit report at http://bugs.php.net/bug.php?id=53352&edit=1
ID: 53352
Comment by: dmitrij at stepanov dot lv
Reported by: dmitrij at stepanov dot lv
Summary: open_basedir does not pass through files with
matching path
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:
Sorry, my bad. Missed the "equal or" opcode :)
r305698 works fine, issue is gone. Thanks.
Previous Comments:
------------------------------------------------------------------------
[2010-11-24 09:59:32] [email protected]
Superior or equal to r305698, the r305698 is there :)
------------------------------------------------------------------------
[2010-11-24 07:24:08] dmitrij at stepanov dot lv
Still see no snap at http://rmtools.php.net/snaps/ that is superior to
r305698. Once it's there, I will reply with the results.
------------------------------------------------------------------------
[2010-11-23 23:16:27] [email protected]
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).
------------------------------------------------------------------------
[2010-11-23 23:14:57] [email protected]
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