Permissions have to be set to 777

Jackiegoal

Verified User
Joined
Nov 22, 2006
Messages
66
I haven't really found an answer to this when searching, so I thought I'd ask this question here. I have one CentOS DirectAdmin server that needs certain Wordpress folders to have 777 permissions (e.g. wp-content/uploads). On other servers, Wordpress works fine out-of-the-box with 755 folder permissions. Is there any way to find where the problem lies? Safe mode is off.

Thank you.
 
Check ownership and permissions of the directories with the problem, and also their parent directories.

Also possible issues: Does php run as apache module, with mod_ruid, or as cgi?

Jeff
 
Hi Jeff,

Ownerships and permissions are in place on all folders. I checked that.

I'm not sure how PHP runs. It's a default DirectAdmin install if that helps. I think that means it's an Apache module, but I'm not sure.

Thanks!
 
I'm not sure how PHP runs. It's a default DirectAdmin install if that helps. I think that means it's an Apache module, but I'm not sure.

phpinfo will tell you.

If run as a module then yes perms have to be 777 for apache managed files and folders.

Is it your server or is a shared server?
 
It's one of our servers. However, I could have sworn that this works on our other servers. I'll check phpinfo() and report back. Thanks.
 
Back
Top