|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13058 opendir fails on remote folders with apache as a service
Submitted: 2001-08-30 08:02 UTC Modified: 2001-10-21 00:46 UTC
From: nicolas_toniazzi at hotmail dot com Assigned:
Status: Closed Package: Directory function related
PHP Version: 4.0.6 OS: WindowsNT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: nicolas_toniazzi at hotmail dot com
New email:
PHP Version: OS:


 [2001-08-30 08:02 UTC] nicolas_toniazzi at hotmail dot com
I'm using php, apache and mysql from EasyPHP 1.5 with windowsNT.
When launching the servers as services, the opendir command fails with remote folders : opendir("//machine/folder"); returning an "errno 22" error.
When running the servers "normally", everything goes well (as far as I tried).


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-30 08:57 UTC]
have you setup proper access permissions?
are you using the module or the cgi?
if the webserver starts as service it will most likly run under SYSTEM, otherwise as the currently logged on user.
 [2001-08-30 09:14 UTC] nicolas_toniazzi at hotmail dot com
I'm sorry, I read the doc but still don't understand the differences between module and cgi...
I simply use the default setup given with EasyPHP 1.5.
When I noticed the problem, I had all the rights I had ever dreamed of (in fact, I could read from and write to the folder). If the problem came from permissions, wouldn't the error say something about it? I read from users who had those problems with IIS.
 [2001-10-21 00:46 UTC]
This should be fixed in CVS. Please try the latest 
development build from


PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Aug 05 13:01:24 2021 UTC