linux - 777 permissions for public_html - Internal Server Error on some servers, but not others? -
i have few different servers, , on servers, can chmod public_html folder 777 permissions without problems - on other servers, error messages. when trying access domain internal server error, , in cpanel error_log on 1 server messages following:
fri oct 08 09:55:39 2010] [error] [client x.x.x.x] softexception in application.cpp:601: directory "/home/managedi/public_html" writeable group
the reason need temporarily change public_html permissions 777 php script executes shell unzip command work properly, , able extract files when accessed via url.
is there server setting causes 777 permissions public_html give internal server error? how can rid of error while still changing permissions public_html?
turns out because servers have suphp enabled, while other servers not. suphp can enabled or disabled in cpanel whm under: main >> service configuration >> apache configuration >> php , suexec configuration
if suphp disabled, php runs apache module , executes user/group of webserver, "nobody".
Comments
Post a Comment