HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Error 500 Premature end of script headers: index.php after upgrade to 3.0.5 (http://www.howtoforge.com/forums/showthread.php?t=60685)

baskin 26th February 2013 09:48

Error 500 Premature end of script headers: index.php after upgrade to 3.0.5
 
I'm getting this error on the ispconfig panel.

Quote:

Server error!

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

Error message:
Premature end of script headers: index.php

If you think this is a server error, please contact the webmaster.
Error 500
All other vhosts are working.

Also on apache error log, i have these:

Code:

/srv/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter: line 6: /usr/lib/cgi-bin/php: No such file or directory
/srv/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter: line 6: exec: /usr/lib/cgi-bin/php: cannot execute: No such file or directory
[Tue Feb 26 10:46:23 2013] [warn] [client 10.214.0.98] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Tue Feb 26 10:46:23 2013] [error] [client 10.214.0.98] Premature end of script headers: index.php


baskin 26th February 2013 09:57

This made the trick:

http://www.howtoforge.com/forums/showthread.php?t=59609

Is this a bug? I'm running on an opensuse 11.2 server.

nokia80 26th February 2013 10:25

same problem here i run debian but there is no file in that map???

baskin 26th February 2013 10:38

Quote:

Originally Posted by nokia80 (Post 292578)
same problem here i run debian but there is no file in that map???

This file?

/var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter

It is a hidden file (beware of the dot).

till 26th February 2013 10:38

@baskin: We verified the paths in curent OpenSuse releases but it might be that they are different in a older release like yours. Instead of changing the path in the ispconfig file, just make symlink from /usr/lib/cgi-bin/php to the location were your php fcgi binary is stored.


@nokia80

The above applies only to OpenSuse as OpenSuse changes the paths for the php binary depending on which repository and builder you use. So please do not post any debian related things to this thread as it will not apply to your problem and make a new thread instaed.


All times are GMT +2. The time now is 13:51.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.