Jul 25, 2012
10
0
1
Planet Earth
cPanel Access Level
Root Administrator
Hello,

One of my client is having Dedicated Cpanel Server with wordpress installations, with frequent posts per day..

The site works fine but occasionally, it throws 500 Internal Server Error on opening a post. Upon investigation it has been observed that, "error_log" file is generated under Document root.. and deleting the same. The issue got fix.

Shall we try to disable log_error through php.ini ?

Your help will be appreciable, if you could provide us the exact details about the above matter..


Thanks in Advance :)


Regards,
Harshal Vaidya...
 
Last edited:

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
To be clear, when you remove the error log, the site operates as expected? Not sure I understand that.

There is a list of tags here you might look thru for any useful tips, having to do with 500 errors and Wordpress:
WordPress › Support » Tags — 500-error

What happens if you rename your .htaccess to htaccess.txt for a moment? Does the site work ok, then? If yes, you might want to look into whats in that .htaccess file. As one suggestion to troubleshoot this.