HostOnNet Blog

Warning: Group directive in requires SUEXEC wrapper.

Looking for Linux Server Admin or WordPress Expert? We can help.

On a Cpanel server with PHP running in suexe mode, PHP sites stoped working with internal error after the owner of the server made some changes in the server to make it secure. He told he have done
 
chown -R root:root /usr/local/apache
find /usr/local/apache -type d | xargs chmod 755
find /usr/;ocal/apache -type f | xargs chmod 644
chmod -R go-r /usr/local/apache/conf
chmod -R go-r /usr/local/apache/logs
 
I stoped and started the apache, got lot of errors
 
Warning: Group directive in requires SUEXEC wrapper.
Warning: User directive in
requires SUEXEC wrapper.
Warning: Group directive in
requires SUEXEC wrapper.
Warning: User directive in
requires SUEXEC wrapper.
Warning: Group directive in
requires SUEXEC wrapper.
 
After trying few permission change, i could not get apache working.
 
So reinstalled apache with
 
/scripts/easyapache
 
After the installation, on restarting apache everything went well, all sites start working as normal.
 

Posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.