Jump to content

[Solved] 500 Internal Server Error (PHP)


loginnet

Recommended Posts

Hi,

 

I am getting Internal Server errors when I try to open any .php file.

Nothing is wrong with my files, even <? phpinfo(); ?> doesn't work.

Are you working on your servers? Sometimes php works, sometimes not.

 

I hope you can fix this quick.

 

Link to comment
Share on other sites

1. This happens almost every day, today it started at 10:00 am.

2. Username: loginnet

3. domain: lnhost.co.cc (and subdomains)

4. All my php pages are giving errors (not always, but sometimes) e.g.: This (just phpinfo)

 

It is really annoying, because I was writing some new code, but the problems have nothing to do with that.

Also, deleting my .htaccess files didn't let the errors go away.

Link to comment
Share on other sites

This support request is being escalated to our root admin.

 

Note to djbob.

 

I actually did get a 500 error on his php info page but after trying it a couple of times it came up.

 

Link to comment
Share on other sites

Next times it happens, please:

1) Check the "Server Load" under "Server Status" in your cPanel.

2) Check your error log and posted any relevant errors.

 

I really don't know where to start if I can't repro the bug. Sorry :(

Link to comment
Share on other sites

@ loginnet

 

This is exactly the problem I had couple weeks ago. While files could be downloaded and HTML could be displayed, any PHP failed. It lastet about a month and has gone without anyone having anything done. You just might have to wait.

Sorry for the bad news. :/

Link to comment
Share on other sites

Server Load 4.55 (4 cpus) (exclamation mark)

 

My error log is completely empty, but that can be due to my website itself is down?!

 

But I believe it said before something like this:

 

404 not found /500.shtml and then the useragent

Link to comment
Share on other sites

I think I know what the problem is: The PHP script is requested, Apache passes the file to the PHP parser. But the CPU is overloaded and postpones the parsing of the file. The parser doesn't respond to Apache, so Apache thinks PHP doesn't exist and it sends an 500 error.

Some time ago the load even was 7!

Link to comment
Share on other sites

  • 4 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...