#47767 [NoF->Fbk]: include_once does not resolve windows symlinks or junctions
| From: | pajoye@php.net | Date: | Sat, 04 Jul 2009 10:45:08 +0000 |
| Subject: | #47767 [NoF->Fbk]: include_once does not resolve windows symlinks or junctions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-139249@lists.php.net to get a copy of this message | ||
ID: 47767
Updated by: pajoye@php.net
Reported By: lukemoynihan at gmail dot com
-Status: No Feedback
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: win32 only - Windows Vista
PHP Version: 5.2.9
Assigned To: pajoye
Previous Comments:
------------------------------------------------------------------------
[2009-06-25 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-06-21 18:59:58] martin at curlybracket dot de
I've tryed symlinked files and that is working for me, you're right.
So, maybe the symlinked directory thing is another but related bug,
right? I've also tryed the latest snapshot, but the problem is the same
for me.
------------------------------------------------------------------------
[2009-06-17 19:37:30] pajoye@php.net
Does it work for you for symlinked files? Or does it fail too?
------------------------------------------------------------------------
[2009-06-17 12:43:22] martin at curlybracket dot de
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.
------------------------------------------------------------------------
[2009-06-16 00:21:16] 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