ID:               48778
 Comment by:       tswsl1989 at sucs dot org
 Reported By:      cs at koch-aplsystems dot de
 Status:           Assigned
 Bug Type:         *General Issues
 Operating System: win32 only - XP SP3
 PHP Version:      5.3.0
 Assigned To:      pajoye
 New Comment:

Problem also occurs when trying to access a junction contained within
the DocumentRoot of Apache.

Apache/2.2.11 (Win32) PHP/5.3.0 
NTFS 3.1 on both drives.

Error occurs accessing <docroot>\igal, where <docroot>\igal is a
junction to O:\


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

[2009-07-20 20:33:57] phpstuff at cresstone dot com

Reproduced, some things seem ok on previous versions.

Where the NTFS folder 'c:\mnt\drive1' is a mounted drive... 

Using 5.3, is_dir('c:\mnt\drive1') returns false, and other filesystem
functions like scandir fail. However, using the 5.2.10 zip package,
is_dir returns true and scandir correctory enumerates the directory.

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

[2009-07-09 20:38:23] Steve at b-en-e dot com

Confirmed here. 5.2.8 does not have this problem, but 5.2.10 does, so
it was introduced in the previous versions.

Removing the junction from the picture solves the problem.

Note that it is not only the source files: if the error log is directed
to a junctioned folder apache ends the request with a connection reset
by peer.

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

[2009-07-02 15:18:33] cs at koch-aplsystems dot de

Description:
------------
Apache 2.2 DocumentRoot is on a NTFS drive with a Mounted Volume (NTFS
Junction) Partition. All files the seem inaccessible to PHP 5.3.x (5.2.x
version do not show this problem)

Changing Apache DocumentRoot to a "real" directory on c: works around
the problem.


Reproduce code:
---------------
not needed

Expected result:
----------------
php script loading

Actual result:
--------------
Fatal error: Unknown: Failed opening required
'C:/Web/apache-root/my_file.php' (include_path='.') in Unknown on line 0


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


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

Reply via email to