I am getting "500 internal server error" on my website

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..
Post Reply
Dan Mark
Posts: 0
Joined: Sat Sep 17, 2016 8:11 am

I am getting "500 internal server error" on my website

Post by Dan Mark »

I am getting "500 internal server error" on my website. If anyone have an idea about this, Please do help me.



Martin
Posts: 36
Joined: Fri Sep 16, 2016 10:34 am

Re: I am getting "500 internal server error" on my website

Post by Martin »

Usually '500 internal server error' is caused by incorrect entries in the .htaccess or might be due to PHP coding. Rename .htaccess file and check whether you are still getting the same error.

There are many other reasons why website displays 'internal server error', so to find the exact reason you must check the apache error logs.

on a cPanel server apache error logs are saved in /usr/local/apache/logs/error_log, on servers without control panel usually apache logs are in /etc/httpd/logs directory. Refresh the page and use tail command to check the exact error.

tail -f /usr/local/apache/logs/error_log



Post Reply