Web does not use php-fpm and fails back to standard php-cgi instead

Discussion in 'Installation/Configuration' started by vistree, Jul 4, 2014.

  1. vistree

    vistree Member

    I'm trying to get php-fpm working with the "Additional php versions" feature running, according to http://www.howtoforge.com/how-to-us...and-fastcgi-with-ispconfig-3-ubuntu-12.04-lts
    Using a new Fast-CGI version is working fine, but when using FPM it's defaulting back to the standard PHP (cgi, not fpm) version on the server.

    ISPconfig is latest on
    Debian 6 (squeeze) and
    PHP 5.3.28-1~dotdeb.0

    The compliled php-fpm version is 5.4.30

    The according vhost file shows:
    Action php5-fcgi /php5-fcgi
    Alias /php5-fcgi /var/www/clients/client1/web1184/cgi-bin/php5-fcgi-*-443-domain.de
    FastCgiExternalServer /var/www/clients/client1/web1184/cgi-bin/php5-fcgi-*-443-domain.de -idle-timeout 300 -host -pass-header Authorization

    ...and in the pool.d directory a file is being created with:
    listen =
    listen.allowed_clients =
    user = web1184
    group = client1
    ...and the fpm is running fine (netstat...). Restarting apache after the change won't have any effect either.
    Also, changing to sockets won't have any effect.

    I edited the ports in /usr/local/ispconfig/server/conf/vhost.conf.master as follows, to change the standard ports:

    <tmpl_if name='ssl_enabled'>
    <VirtualHost {tmpl_var name='ip_address'}:443>
    <VirtualHost {tmpl_var name='ip_address'}:88>

    Thanks in advance,
    Regards Kai
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. vistree

    vistree Member


    Hi Till,
    that it is! We didn't install and activate mod_fastcgi Apache module. We thought, we already had it installed - but instead we just had the mod_fcgid.

    Thank you a lot!

Share This Page