ID:               48535
 User updated by:  tobias dot burger at rolmail dot net
 Reported By:      tobias dot burger at rolmail dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: win32 only - Windows Server 2008
 PHP Version:      5.3.0RC3
 Assigned To:      pajoye
 New Comment:

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?


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

[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

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

[2009-06-12 10:17:12] paj...@php.net

thanks for the update, I have to figure out what's wrong.

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

[2009-06-12 10:15:38] tobias dot burger at rolmail dot net

I've set the setting fastcgi.impersonate in php.ini to 1 (like
recommendet in the documentation).
If I set it to 0 it works.

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

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