#48535 [Fbk->Ctl]: file_exists returns false if the file path is a symlink
| From: | pajoye@php.net | Date: | Fri, 12 Jun 2009 10:17:12 +0000 |
| Subject: | #48535 [Fbk->Ctl]: file_exists returns false if the file path is a symlink | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-138240@lists.php.net to get a copy of this message | ||
ID: 48535
Updated by: pajoye@php.net
Reported By: tobias dot burger at rolmail dot net
-Status: Feedback
+Status: Critical
Bug Type: Scripting Engine problem
Operating System: Windows Server 2008
PHP Version: 5.3.0RC3
Assigned To: pajoye
New Comment:
thanks for the update, I have to figure out what's wrong.
Previous Comments:
------------------------------------------------------------------------
[2009-06-12 10:15:38] tobias dot burger at rolmail dot net
I've set the setting fastcgi.impersonate in php.ini to 1 (like
recommendet in the documentation).
If I set it to 0 it works.
------------------------------------------------------------------------
[2009-06-12 09:58:19] pajoye@php.net
I use 2008 as well and it works fine. Can you add perms for your user
specifically and test again? take #2
------------------------------------------------------------------------
[2009-06-12 09:51:32] tobias dot burger at rolmail dot net
detailed system information
* Windows Server 2008
* IIS7 with Fast-CGI installed
* PHP5.3 ((5.3.0RC3) VC9 non thread safe from
http://windows.php.net/qa/ (tried also VC6 and thread safe
version)
The problem occurs only if executing the script from the web server.
I run the same script from the console and it works.
The permissions are set correctly (full permissions to everyone), as I
can read and modify the file via PHP (running on IIS).
------------------------------------------------------------------------
[2009-06-12 09:29:17] pajoye@php.net
I use 2008 as well and it works fine. Can you add perms for your user
specifically and test again?
------------------------------------------------------------------------
[2009-06-12 09:25:55] tobias dot burger at rolmail dot net
User group EVERYONE has full permissions.
Other operations are working on that file:
e.g. include_once, file_get_contents
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/48535
--
Edit this bug report at http://bugs.php.net/?id=48535&edit=1