0
votes

My site frequently displays 500 Internal Server Error. Restarting apache, brings the site back to normal state. Other sites running on the same server does not have this issue. Apache error log have no information related to this. The apache loglevel of this site is set as "warn".

What may be the reason for this ?

My site is written on PHP and deployed in linux server.

2

2 Answers

0
votes

If you have suphp installed it might be e permissions problem - if its installed all the files need to have chmod set to 644 and all thefolders - 755

0
votes

Please check the folder necessary permissions. Then in index.php file add

ini_set('display_errors', 1);

to display error reports. So that you can find the error.