Forum Moderators: coopster

Message Too Old, No Replies

WAMP Server - Permission denied in Unknown

         

Nutter

10:10 pm on Jul 18, 2008 (gmt 0)

10+ Year Member



I have a client trying to install a program of mine on a server and they're getting the following error.

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required 'C:/wamp/www/folder_name/index.php' (include_path='.;C:\php5\pear') in Unknown on line 0

Everything I've found on Google leads me to think it's a permissions issue, but I've also found nothing specific to Windows. He's telling me that the permissions are fine - something along the lines of "with windows permissions are 777 all the time". I don't know enough about Windows servers to disagree with that, but it just doesn't seem correct.

Either way, other PHP files in different folders are working.

Anyone got a "for dummies" explanation of what this error means? Best I can tell is either Apache or PHP isn't able to read the PHP file.

Any suggestions on what to suggest?

darthmalis

7:28 am on Jul 19, 2008 (gmt 0)

10+ Year Member



I gotten permission denied errors when trying to move files while Limewire is using them. I would think that it is more closely related to ypur problem than a real permissions issue. (Is he running a different server at the same time?) 777 is a *nix thing. Windows refuses to function in any way at all like *nix. There is (as far as I've ever been able to figure out) no such equivalent setting in Windows.

Nutter

3:34 pm on Jul 19, 2008 (gmt 0)

10+ Year Member



I found a way to replicate the error, although I haven't heard back from him yet whether this is the same issue.

If I deny read access to the SYSTEM user to the .php file it gives this error. Although it looks like all of the files are setup this way on his server.

eelixduppy

8:56 pm on Jul 19, 2008 (gmt 0)



Definitely a permissions problem it seems. Wait for the response from him and work it out from there.