Bug #51953 [Opn->Bgs]: realpath isn't resolving symlinks/junctions
| From: | pajoye@php.net | Date: | Mon, 31 May 2010 00:38:23 +0000 |
| Subject: | Bug #51953 [Opn->Bgs]: realpath isn't resolving symlinks/junctions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-150951@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51953&edit=1
ID: 51953
Updated by: pajoye@php.net
Reported by: whistl0r+phpbug at googlemail dot com
Summary: realpath isn't resolving symlinks/junctions
-Status: Open
+Status: Bogus
Type: Bug
Package: Directory function related
Operating System: Windows Vista/7
PHP Version: 5.2.13
New Comment:
5.2 does not support symlinks/junction resolutions, use 5.3 if you have
to rely on this feature.
Previous Comments:
------------------------------------------------------------------------
[2010-05-31 02:00:47] whistl0r+phpbug at googlemail dot com
Description:
------------
This bug is maybe related to http://bugs.php.net/bug.php?id=51952
Your in your httpd.conf configured DOCUMENT_ROOT is
"C:\Sites\example.org\htdocs".
But this isn't a folder, it's a symlink/junction to the following
folder:
"C:\Foo".
Now you call "C:\Sites\example.org\htdocs\test.php"
Test script:
---------------
<?php
echo realpath(getcwd());
Expected result:
----------------
C:\Foo
Actual result:
--------------
C:\Sites\example.org\htdocs
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51953&edit=1