Edit report at http://bugs.php.net/bug.php?id=51953&edit=1

 ID:               51953
 Updated by:       paj...@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

Reply via email to