Jump to content

Something is wrong with my PHP Installation on my webserver


Recommended Posts

Hi folks,

 

I'm new here, so hello everyone!

 

I run a webserver (Cent OS) with dedicatednow and since a few days I get an error message everytime I use anything PHP:

 

500 Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

It was working fine before that and no changes have been made. I don't get it. I tried restarting Apache, reconfiguring PHP, but without success.

 

Not even a simple phpinfo(); will run.

 

Can anyone help me out here?

Sry, I'm really not that experienced with Linux.

 

Is this what you were asking for?

[Mon Feb 14 02:56:46 2011] [error] [client 67.191.39.247] Premature end of script headers: index.php

 

I get this on all the scripts that were attempted to be executed.

You might want to check suexec_log.  (Look for it in  /var/log/httpd/suexec_log, or poke around.)

 

What you're seeing can often be the fault of wrong file permissions.  (Apache wants to run something that root owns, for example.)  suexec_log should give a clue if that's happening.

 

Precisely what you're seeing means that the pages stopped before they ever really got started, which unfortunately doesn't tell you much.  So I'd try looking into file permissions and ownership and see if that leads you somewhere.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.