ID: 50542 Comment by: blc at 3ds dot com Reported By: dd at headlineweb dot nl Status: Assigned Bug Type: *Directory/Filesystem functions Operating System: win32 only - W2003 PHP Version: 5.3.1 Assigned To: pajoye New Comment:
Maybe it can help: I've noticed that with your patch, when using drive path to access file, file_exists('W:/path/to/my/file.txt') now returned TRUE (=the file exists) even if fopen/file/file_get_contents were unable to read it and say "No such file or directory" Previous Comments: ------------------------------------------------------------------------ [2010-01-25 13:28:43] paj...@php.net @blc at 3ds dot com "- it worked for me when used in UNC directory \\server\path - it did NOT when used in drive (letter:) mapped on the same path" Ok, thanks for testing! :) I have now to test the mapped version (mounted path or drive), that's a real mess on windows with shares and mounted paths/mapped drives. ------------------------------------------------------------------------ [2010-01-25 12:12:53] blc at 3ds dot com Hello, Thanks for the quick update. I have just installed it and re-run my previous test code: - it worked for me when used in UNC directory \\server\path - it did NOT when used in drive (letter:) mapped on the same path ------------------------------------------------------------------------ [2010-01-23 01:16:51] paj...@php.net dd at headlineweb dot nl: It works just fine here on 2k3 accessing share via DFS. I will need an access as well as a list of the paths you are trying to access to debug. If it is not possible, please describe your configuration exactly: - path to the DFS, their root and namespace as well - which function you use ------------------------------------------------------------------------ [2010-01-22 23:18:56] dd at headlineweb dot nl Hi pajoye, Thanks for the update! I tried http://downloads.php.net/pierre/php-5.3.3-dev-nts-Win32-VC9-x86-dfsfix.zip but unfortunately with this version i have the same issue, PHP works but not accessing UNC paths. ------------------------------------------------------------------------ [2010-01-22 16:51:28] paj...@php.net Please try using: http://downloads.php.net/pierre/php-5.3.3-dev-nts-Win32-VC9-x86-dfsfix.zip in CLI, or using FCGI (IIS or mod_fcgi). Final fix will be in all versions :) ------------------------------------------------------------------------ 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/50542 -- Edit this bug report at http://bugs.php.net/?id=50542&edit=1