php.net |  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
5 + 50 = ?
Subscribe to this entry?

 
 [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).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-30 08:57 UTC] dbeu@php.net
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] sniper@php.net
This should be fixed in CVS. Please try the latest 
development build from http://www.php4win.com/


--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 22:01:27 2024 UTC