ID:               47767
 Comment by:       martin at curlybracket dot de
 Reported By:      lukemoynihan at gmail dot com
 Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: win32 only - Windows Vista
 PHP Version:      5.2.9
 Assigned To:      pajoye
 New Comment:

I've just checked the snapshot
PHP 5.3 (5.3.0RC4-dev) VC6 x86 Non Thread Safe (2009-Jun-17 13:00:00)
 (Zip, sha1: 269d823708ed9bec3cd4ab5ca563245ed6aed820)
and neither symlink nor junction is working for me. My scenario is a
bit different, i'm linking not a file but a directory:

D:\dev\lib is the target.
D:\dev\link is the symlink/junction.

When i try to include the file D:\dev\link\test.php i get the following
error:

------------
Warning: include_once(D:\dev\link\test.php) [function.include-once]:
failed to open stream: No such file or directory in
D:\dev\test-47767.php on line 2

Fatal error: include_once() [function.include]: Failed opening required
'D:\dev\link\test.php' (include_path='.') in D:\dev\test-47767.php on
line 2
------------

is_file('D:\dev\link\test.php') returns true and an include to
D:\dev\lib\test.php is working correctly.


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

[2009-06-16 00:21:16] 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/



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

[2009-03-26 02:47:05] lukemoynihan at gmail dot com

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.

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

[2009-03-25 11:13:31] paj...@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

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

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

Reply via email to