Error 500 when try to open a php site

Discussion in 'Installation/Configuration' started by luposoft, Mar 30, 2009.

  1. luposoft

    luposoft New Member

    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?
  2. till

    till Super Moderator

    Take a look in the error log of the website.
  3. luposoft

    luposoft New Member

    this is the log

    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???
  4. till

    till Super Moderator

  5. luposoft

    luposoft New Member

    phpmyadmin works fine

    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?
  6. till

    till Super Moderator

    Please post the output of:

    php -v
  7. luposoft

    luposoft New Member

    I don't know why but now php work.

Share This Page