#50542 [Fbk->Asn]: scandir() cannot open UNC paths since PHP 5.3.1
From: pajoye@php.net Date: Mon, 25 Jan 2010 13:28:43 +0000 Subject: #50542 [Fbk->Asn]: scandir() cannot open UNC paths since PHP 5.3.1 References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-146910@lists.php.net to get a copy of this message
ID: 50542
Updated by: pajoye@php.net
Reported By: dd at headlineweb dot nl
-Status: Feedback
+Status: Assigned
Bug Type: *Directory/Filesystem functions
Operating System: win32 only - W2003
PHP Version: 5.3.1
Assigned To: pajoye
New Comment:
@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.
Previous Comments:
------------------------------------------------------------------------
[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] 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
------------------------------------------------------------------------
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
Thread (44 messages)
- #50542 [Opn->Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk->Opn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Opn->Asn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Asn->Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk->Opn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Opn->Asn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Asn->Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk->Opn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Opn->Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk->Opn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Opn->Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk->Asn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Asn->Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk->Opn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Opn->Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk->Opn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Opn->Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Fbk->Opn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Opn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Opn]: scandir() cannot open UNC paths since PHP 5.3.1
- #50542 [Opn->Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- Bug #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
- Bug #50542 [NoF->Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- Bug #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
- Bug #50542 [Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- Bug #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
- Bug #50542 [Fbk->Opn]: scandir() cannot open UNC paths since PHP 5.3.1
- Bug #50542 [Opn->Fbk]: scandir() cannot open UNC paths since PHP 5.3.1
- Bug #50542 [Fbk->Opn]: scandir() cannot open UNC paths since PHP 5.3.1
- Bug #50542 [Com]: scandir() cannot open UNC paths since PHP 5.3.1
- Bug #50542 [Opn->Csd]: scandir() cannot open UNC paths since PHP 5.3.1
- Bug #50542 [Csd]: scandir() cannot open UNC paths since PHP 5.3.1
| « previous | php.bugs (#146910) | next » |
|---|