View Full Version : Error 500 when try to open a php site

30th March 2009, 15:55
Hi, I have a ISPConfig 3 on a new Debinan 5.0 Lenny Server.
I have make the first site and upload in some phpfile (example a phpinfo.php).
If I try to open the .php file I receive Error 500.
Html file works fine.
In ISPConfig --> Web Domain -->PHP I have enabled FAST-CGI
Can somebody Help me?

30th March 2009, 20:10
Take a look in the error log of the website.

31st March 2009, 01:57
This is in the log when try to open .php file

[Tue Mar 31 00:54:36 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Tue Mar 31 00:54:36 2009] [error] [client] Premature end of script headers: phpinfo.php

What I must to do to repair???

31st March 2009, 09:54
There seem to be a few packages for the fastcgi server missing in your setup or they had been compiled with wrong settings. Please make sure that you installed all packages listed in this guide before you installed ISPConfig:


31st March 2009, 11:51
I have installed all packages listed in the guide.
If i try to run phpmyadmin it works fine.
I think that php don't run only in the /var/www sites.

Somebody have idea about?

31st March 2009, 12:24
Please post the output of:

php -v

1st April 2009, 12:36
I don't know why but now php work.