Bug #53352 [Opn->Asn]: open_basedir does not pass through files with matching path

From: Date: Fri, 19 Nov 2010 12:41:15 +0000
Subject: Bug #53352 [Opn->Asn]: open_basedir does not pass through files with matching path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-156221@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53352&edit=1 ID: 53352 Updated by: pajoye@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

« previous php.bugs (#156221) next »