Search code examples
phpinternal-server-error

Internal Server Error 500 on .PHP pages only


This is a problem that has been occurring a few times a week for the last 12 months but it never used to last for longer than an hour maximum, sometimes a lot less. This time however, it has been showing for nearly 18 hours so clearly it's not going to go away on it's own this time. I've done the usual google search and also checked similar questions on here but nothing gave me a solution.

I have hosting with HostPapa and the error log within cPanel doesn't help me either. It normally just says that a file called robots.txt cannot be found and it also can't find a 404.shtml file. At this moment in time, the error log is completely empty, even if I try to visit the site beforehand.

Best theories I heard was either Wrong Permissions and/or disabling Zend Guard?

[Fri Sep 26 15:54:05 2014] [error] [client 62.24.222.132] File does not exist: /home/tmsth125/public_html/robots.txt, referer: http://tmsthermalstore.com/robots.txt [Fri Sep 26 15:53:56 2014] [error] [client 62.24.222.131] File does not exist: /home/tmsth125/public_html/404.shtml, referer: http://tmsthermalstore.com/helloworld.php [Fri Sep 26 15:53:56 2014] [error] [client 62.24.222.131] File does not exist: /home/tmsth125/public_html/helloworld.php, referer: http://tmsthermalstore.com/helloworld.php


Solution

  • After contacting Customer Support via Live Chat, they fixed the issue and confirmed it was related to permissions in the php.ini file.