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: Assigned Type: Bug Package: *Directory/Filesystem functions Operating System: Windows 64 Bit PHP Version: 5.3.26 Assigned To: ab Block user comment: N Private report: N New Comment: For reference please see the code below : ****Apache runs as Administrator Account <?php $isReadable = is_readable("\\\\servername\\sharename\\file.txt"); //returns false $fileExists = file_exists("\\\\servername\\sharename\\file.txt"); //returns true ?> Previous Comments: ------------------------------------------------------------------------ [2013-06-07 09:10:06] paj...@php.net @ab can you try to repro it pls? ------------------------------------------------------------------------ [2013-06-07 08:42:38] mhhechanova at gmail dot com Yes its readable...Apache runs using Administrator account. ------------------------------------------------------------------------ [2013-06-07 08:39:49] paj...@php.net This is a permission option, you can check it either using the command line tool or via the property dialog > security. ------------------------------------------------------------------------ [2013-06-07 08:38:59] paj...@php.net That was not my question :) to see if something is readable, every part of the path is checked and for that we need the ability to read the property of each part. If one path does not have it, the operation will fail. ------------------------------------------------------------------------ [2013-06-07 08:00:54] mhhechanova at gmail dot com Yes...in fact when using file_exists it returns TRUE ------------------------------------------------------------------------ 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