ID:               42815
 Updated by:       [EMAIL PROTECTED]
 Reported By:      simon at bleif dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Safe Mode/open_basedir
 Operating System: Windows Server 2003 x64 R2 SP2
 PHP Version:      5.2.4
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

This is most likely fixed now.


Previous Comments:
------------------------------------------------------------------------

[2007-10-03 16:38:56] simon at bleif dot de

I filed the bug #42646 in the assumption that all "per
directory"-assignments don't work - as only open_basedir seems affected,
I decided to file a new bug report in the appropriate category (here).

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

[2007-10-02 12:21:45] [EMAIL PROTECTED]

What's the difference between this report and bug #42646?
Isn't this the same issue?

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

[2007-10-01 14:12:02] simon at bleif dot de

Description:
------------
When running PHP via php-cgi.exe using CGI/FastCGI, open_basedir values
configured via "Per Directory Values" are not working correctly. ISAPI
module and PHP-CLI are not affected, PHP-CGI is.

Also see http://bugs.php.net/bug.php?id=42646, reposted here as only
open_basedir seems to be affected.

Reproduce code:
---------------
Prerequisites:
- properly set "Per Directory Values"-registry key, open_basedir set to
C:\Inetpub\wwwroot\test for the "test"-folder there.
- test.php, just containing a call to phpinfo(), located in that
"test"-folder
- php.ini, open_basedir only set to temp and session directory there,
not to the "test"-folder

Test1:
php.exe -f C:\Inetpub\wwwroot\test\test.php

Test2:
php-cgi.exe -f C:\Inetpub\wwwroot\test\test.php

Test3:
Change: Configure php.ini-open_basedir value to include the path to the
"test"-folder, then again (exactly as in Test2):
php-cgi.exe -f C:\Inetpub\wwwroot\test\test.php

Expected result:
----------------
Test1, Test2 and Test3:
Each of them should display the correct phpinfo-output, the additional
setting for open_basedir (set via "Per Directory Values") should be
reflected correctly under "Local Value".

Actual result:
--------------
Test1:
Works as expected

Test2:
Does not work as expected, "No input file specified" is displayed

Test3:
Works as expected.
Interesting: the local value of open_basedir, configured via registry
is displayed in the phpinfo-output under "Local Value"!


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


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

Reply via email to