Edit report at https://bugs.php.net/bug.php?id=64986&edit=1
ID: 64986
User updated by: mhhechanova at gmail dot com
Reported by: mhhechanova at gmail dot com
Summary: is_readable cannot read UNC path
-Status: Feedback
+Status: Assigned
Type: Bug
Package: *Directory/Filesystem functions
Operating System: Windows 64 Bit
-PHP Version: 5.3.26
+PHP Version: 5.4.5 x64
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
@pajoye,
thank you for taking time to resolve this issue, however our development server
is not connected to the internet.
As a reference, here's the server's configuration :
- Windows Storage Server 2008 R2 Standard
- PHP 5.4.5 x64 thread safe
- Apache 2.2.19 x64
- MySQL 5.6.11 x64
Thanks and regard,
Mo
Previous Comments:
------------------------------------------------------------------------
[2013-06-12 07:43:35] pajoye@php.net
we can't reproduce it in our (numerous) environment.
We have now two ways to solve this issue:
- provide access to the host+client so we can debug
- give us the exact versions of the windows client and server so we can try using
the same configurations in our lab
------------------------------------------------------------------------
[2013-06-12 06:54:59] mhhechanova at gmail dot com
is_readable("\\\\127.0.0.1\\test\\test.txt"); //returns TRUE
However is_readable("\\\\servername\\sharename\\file.txt"); still returns FALSE
***ALL PERMISSIONS to that folder is set to ALLOW
------------------------------------------------------------------------
[2013-06-12 06:47:45] ab@php.net
Hi,
with \\127.0.0.1 i didn't mean explorer. Just create some test share like
\\127.0.0.1\test\test.txt and try your PHP snippet.
With 'full control' - as it might be different, again - are the checkboxes 'read
attributes' and 'read extended attributes' explicitly active on that file?
Thanks.
------------------------------------------------------------------------
[2013-06-11 23:58:56] mhhechanova at gmail dot com
@ab,
after executing this command :
** What happens if you try to access a share on \\127.0.0.1 ?
- A new explorer window opens, displaying the shared folder on my local
machine.
Thanks
------------------------------------------------------------------------
[2013-06-11 11:31:28] ab@php.net
What happens if you try to access a share on \\127.0.0.1 ?
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=64986--
Edit this bug report at https://bugs.php.net/bug.php?id=64986&edit=1