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.2CVS-2007-11-15 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2008-01-23 22:04:55] don dot lebert at gmail dot com Just sort of a follow up: PHP 5.2.5 still acts this way, as does the latest php6. ------------------------------------------------------------------------ [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: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
