ID:               43309
 Updated by:       [EMAIL PROTECTED]
 Reported By:      don dot lebert at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Filesystem function related
 Operating System: Windows 2003 SP2
 PHP Version:      5.2.5
 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




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

[2007-11-15 22:35:28] don dot lebert at gmail dot com

Description:
------------
As of php 5.2.4 the language suddenly wants full pathing rights to
where ever the .php file is run. The best way to see this problem is to
use as simple script, no point in getting all complicated. What I have
setup is a D:\inetpub folder which only has administrator and system
rights. Within there I have the websites, so lets say wwwroot. This site
has rights for Administrator, System, and the Internet Guest Account.
Within this wwwroot I have a test.php, which contents are:

<?php echo getcwd(); ?>

Typically(Pre php 5.2.4) this would return D:\inetpub\wwwroot(The
directory from which the script was run via IIS, and the way I imagine
it should work)

As of PHP 5.2.4 and above, this now returns
C:\windows\system32\inetsrv

The reason? PHP now wants to have 'List Folder Contents' Access to
D:\Inetpub for users.







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


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

Reply via email to