ID:               43309
 User updated by:  don dot lebert at gmail dot com
 Reported By:      don dot lebert at gmail dot com
 Status:           Open
 Bug Type:         Filesystem function related
 Operating System: Windows 2003 SP2
 PHP Version:      5.2CVS-2007-11-15
 New Comment:

Just sort of a follow up:

PHP 5.2.5 still acts this way, as does the latest php6.


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

[2007-11-15 23:07:26] don dot lebert at gmail dot com

Thank you for your timely reply; unfortunately, the problem persists
after making use of the CVS.

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

[2007-11-15 22:45:28] [EMAIL PROTECTED]

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



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

[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