ID:               48535
 Updated by:       paj...@php.net
 Reported By:      tobias dot burger at rolmail dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Filesystem function related
 Operating System: win32 only - Windows Server 2008
 PHP Version:      5.3.0RC3
 Assigned To:      pajoye
 New Comment:

symlink are not junctions!

use mklink to create symbolic or hard links.


Previous Comments:
------------------------------------------------------------------------

[2009-07-02 15:09:44] patrick at procurios dot nl

We have the same problem on our Windows Vista developer machines. Links
were made with the tool junction.exe (because the links need to work on
both Windows XP and Windows Vista).

The problem was fixed in Vista when the old links were replaced by new
mklink links.

We haven't tried PHP 5.3 on XP yet.

------------------------------------------------------------------------

[2009-06-18 08:16:04] tobias dot burger at rolmail dot net

I have a deep folder structure. For example i made a symlink (mklink
/d) from a folder located on drive d: to a folder on drive c:

D:\root\web\wwwtypo35 -> C:\inetpub\wwwtypo35

If I call now realpath() for
"C:\inetpub\wwwtypo35\Packages\Global\FLOW3\Classes\Package\Package.php"
it returns false on the latest snapshot version of PHP. If I try the RC3
release it works and the function returns the full path.

Maybe the bug exists because I made a symlink to a path on another
drive?

------------------------------------------------------------------------

[2009-06-17 21:18:35] paj...@php.net

realpath works here (all tests machine) with symlink. Do you have an
example (path used, dir or files?, etc.)

------------------------------------------------------------------------

[2009-06-16 06:59:38] tobias dot burger at rolmail dot net

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?

------------------------------------------------------------------------

[2009-06-15 17:02:37] paj...@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

------------------------------------------------------------------------

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

Reply via email to