Edit report at http://bugs.php.net/bug.php?id=52728&edit=1
ID: 52728
User updated by: resonantmedia at gmail dot com
Reported by: resonantmedia at gmail dot com
Summary: realpath() fails to resolve symbolic links
(symlinks) in remote file systems
-Status: Feedback
+Status: Open
Type: Bug
Package: Directory function related
Operating System: Ubuntu LTS 8.04
PHP Version: 5.2.14
Block user comment: N
New Comment:
I meant the magic constant __FILE__ (__FILENAME__) was a typo. Is there
a
changelog entry for 5.3 that refers to the issue?
Previous Comments:
------------------------------------------------------------------------
[2010-08-29 14:25:51] [email protected]
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2010-08-29 10:18:08] resonantmedia at gmail dot com
Description:
------------
php 5.2.4-2ubuntu5.7
Assuming a symbolic link refers to a script and both are on a remote
file system:
Calling realpath('./') does not produce the same results as
realpath(dirname(__FILENAME__)) when the script is being referred to by
its
symlink over NFS.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52728&edit=1