#48535 [Com]: file_exists returns false if the file path is a symlink
| From: | tobias dot burger at rolmail dot net | Date: | Tue, 16 Jun 2009 06:59:39 +0000 |
| Subject: | #48535 [Com]: 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-138350@lists.php.net to get a copy of this message | ||
ID: 48535
Comment by: tobias dot burger at rolmail dot net
Reported By: tobias dot burger at rolmail dot net
Status: Feedback
Bug Type: Scripting Engine problem
Operating System: win32 only - Windows Server 2008
PHP Version: 5.3.0RC3
Assigned To: pajoye
New Comment:
Now it works!
But realpath doesn't work for symlinked pathes anymore (it returns
false).
Tried the RC3 realease again and there it works.
Has it something to do with the actual fix or should I open a new bug
submission?
Previous Comments:
------------------------------------------------------------------------
[2009-06-15 17:02:37] pajoye@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
A fix has been applied to 5.3, please try it
------------------------------------------------------------------------
[2009-06-12 10:17:12] pajoye@php.net
thanks for the update, I have to figure out what's wrong.
------------------------------------------------------------------------
[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).
------------------------------------------------------------------------
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