#50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
| From: | blc at 3ds dot com | Date: | Mon, 25 Jan 2010 12:12:54 +0000 |
| Subject: | #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-146908@lists.php.net to get a copy of this message | ||
ID: 50542
Comment by: blc at 3ds dot com
Reported By: dd at headlineweb dot nl
Status: Feedback
Bug Type: *Directory/Filesystem functions
Operating System: win32 only - W2003
PHP Version: 5.3.1
Assigned To: pajoye
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2010-01-23 01:16:51] pajoye@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] pajoye@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 :)
------------------------------------------------------------------------
[2010-01-22 16:41:49] blc at 3ds dot com
I run my PHP script on Windows XP
The remote file system is UNIX
so I guess there is some NFS in between (samba or ...) and some DFS on
the SMB/windows side
------------------------------------------------------------------------
[2010-01-20 12:01:00] pajoye@php.net
Ok, thanks, that explains why I was not able to reproduce it here.
I have to setup a test environment for DFS locally, but I won't be able
to do it in the next 2 weeks.
I could give it a try earlier if you can provide remotely accessible
VMs/hosts to do some tests (have to install debugging tools on it too)?
------------------------------------------------------------------------
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