#47767 [Asn]: include_once does not resolve windows symlinks or junctions

From: Date: Thu, 26 Mar 2009 02:47:05 +0000
Subject: #47767 [Asn]: include_once does not resolve windows symlinks or junctions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-135136@lists.php.net to get a copy of this message
 ID:               47767
 User updated by:  lukemoynihan at gmail dot com
 Reported By:      lukemoynihan at gmail dot com
 Status:           Assigned
 Bug Type:         *Directory/Filesystem functions
 Operating System: Windows Vista
 PHP Version:      5.2.9
 Assigned To:      pajoye
 New Comment:

Ok, I can understand not wanting to support Junctions, It would be 
fantastic to support symlinks though - this is bound to come up more 
as people on windows learn to use links, if you need any testing done 
for this let me know.


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

[2009-03-25 11:13:31] pajoye@php.net

Ok, will see what can be done for symlink. I'm not sure 2k/xp are worst
a hack, but 2k8/vista/win7 have real symlinks support.

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

[2009-03-25 10:51:01] andrew at mcgl dot co dot nz

Have the same problem on V5.2.8 running on windows XP

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

[2009-03-25 02:15:55] lukemoynihan at gmail dot com

FYI: I've tested this on Windows XP, Vista to get the results for 
windows, and Centos 5 for linux results

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

[2009-03-25 02:09:11] lukemoynihan at gmail dot com

I can confirm this is a problem using 
http://windows.php.net/downloads/snaps/php-5.3-nts-win32-VC9-x86-
latest.zip  that i downloaded now. 

The problem occurs when the symlink (typically used by Vista/Server 
2008) is a folder or a file, or a folder junction (Used by WinXP/2K) 
is used.

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

[2009-03-24 22:55:59] pajoye@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



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

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/47767

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



Thread (21 messages)

« previous php.bugs (#135136) next »