Error 500 : Internal Server Error! --- FastCGI: failed to connect to server

  • I changed the server from php5-fcgi to php5-fpm and viceversa but nothing changes I always error 500. how can I fix it?


    [Thu Feb 20 17:23:18 2014] [error] [client 95.239.190.8] (2)No such file or directory: FastCGI: failed to connect to server "/var/lib/apache2/fastcgi/php5-fcgi-master": connect() failed
    [Thu Feb 20 17:23:18 2014] [error] [client 95.239.190.8] FastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-master"



    PHP 5.4.4-14+deb7u7 (cli) (built: Dec 12 2013 08:42:07)
    Copyright (c) 1997-2012 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with XCache v2.0.0, Copyright (c) 2005-2012, by mOo
    with the ionCube PHP Loader v4.4.3, Copyright (c) 2002-2013, by ionCube Ltd.



    SQL_SERVER = mysql_5.5
    PO_SERVER = courier
    NAMED_SERVER = bind
    HTTPD_SERVER = apache_php_fpm
    FTPD_SERVER = proftpd
    MTA_SERVER = postfix

    Notelseit.com

  • What are you doing that you have so much problems? Do you make manuell configrations?

  • Which Config file did you delete?


    deleting TLD.conf in /etc/apache2/sites-.../ doesn't work as well as /etc/apache2/imscp/TLD.conf. :/



    EDIT: found the reason!!!
    service php5-fpm status told me php5-fpm is not running, that's why /var/log/apache2/TLD/error.log says no connection.
    Just Reboot the System!!! :)
    Sorry