|
|||||||||
|
|||||||||
|
|
Công Cụ | Xếp Bài |
16-07-2016, 11:09 PM | #1 |
Guest
Trả Lời: n/a
|
Fix: 500 Error: File ".. /public_html/index.php" 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. Cách xử lý cd /home/user/domains/domain.com/public_html find . -type d -exec chmod 0755 {} \; find . -type f -exec chmod 0644 {} \; |
Công Cụ | |
Xếp Bài | |
|
|