Bug #52728 [Opn->Fbk]: realpath() fails to resolve symbolic links (symlinks) in remote file systems
| From: | pajoye@php.net | Date: | Sun, 29 Aug 2010 20:55:15 +0000 |
| Subject: | Bug #52728 [Opn->Fbk]: realpath() fails to resolve symbolic links (symlinks) in remote file systems | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153904@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52728&edit=1
ID: 52728
Updated by: pajoye@php.net
Reported by: resonantmedia at gmail dot com
Summary: realpath() fails to resolve symbolic links
(symlinks) in remote file systems
-Status: Open
+Status: Feedback
Type: Bug
Package: Directory function related
Operating System: Ubuntu LTS 8.04
PHP Version: 5.2.14
Block user comment: N
New Comment:
Please try using 5.3.3 or snapshot, using our sources, not patched
version of php.
Previous Comments:
------------------------------------------------------------------------
[2010-08-29 22:50:05] resonantmedia at gmail dot com
I meant the magic constant __FILE__ (__FILENAME__) was a typo. Is there
a
changelog entry for 5.3 that refers to the issue?
------------------------------------------------------------------------
[2010-08-29 14:25:51] pajoye@php.net
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