Portal Home > Knowledgebase > Web Hosting > Linux Hosting - cPanel (linux/mySQL) > 500 Error: File is writeable by group
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 126.96.36.199] 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.
Add to Favourites Print this Article