Forum Moderators: coopster

Message Too Old, No Replies

.php files not found if directory has write permission for group

         

enivid

12:52 pm on Apr 1, 2011 (gmt 0)

10+ Year Member



Hi all!

I've just moved to a new dedicated hosting and having a problem with it. If I make some directory on the site rwxrwxr-x, the server starts returning 404 error for .php files in this directory. If I switch it to back rwxr-xr-x, the .php files are run as normal. What may be causing this problem? Only .php files seem to be affected.

coopster

1:28 pm on Apr 1, 2011 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



A belated welcome to WebmasterWorld, enivid.

In one word ...
Security [php.net]

Check your security settings, permissions and configuration directives for your installation type.

enivid

9:29 am on Apr 2, 2011 (gmt 0)

10+ Year Member



Thanks for your suggestion, but, unfortunately, I couldn't find any php.ini directive that would have anything to do with launching php scripts from directories with a group write permission.

Any further ideas? I am running PHP as CGI if that helps.