500 Error: File is writeable by group

On occasion you may get a 500 page error (a green/blue error page) when trying to run a PHP script in your account. When checking the error og which you can do via the cPanel account log in you may see the following line:

[Wed Jan 31 16:34:12 2011] [error] [client 11.111.111.111] SoftException in Application.cpp:256: File "/home/username/public_html/index.php" is writeable by group

This is due to the server running SuPHP and the files having higher permissions than allowed, to fix this problem you need to make sure your files are chmod 644 for all PHP based files and 755 for directories in order for them to work with SuPHP.You can easily do this by connecting via FTP with Filezilla and right clicking on the problem folders and files and selecting file permissions.
  • 133 Users Found This Useful
Was this answer helpful?

Related Articles

How to setup a cron job in cPanel

This demo assumes you've already logged in to cPanel Now let's learn how to setup a cron job 1)...

How to setup domain redirects in cPanel

This demo assumes you've already logged in to cPanel Now let's learn how to setup domain...

How to password protect a directory in cPanel

This demo assumes you've already logged in to cPanel Now let's learn how to password protect a...

How to create a subdomain in cPanel

This demo assumes you've already logged in to cPanel Now let's learn how to create a subdomain...

How to add an MX entry in cPanel

This demo assumes you've already logged in to cPanel Now let's learn how to setup MX entries 1)...