Lighttpd With PHP5 (PHP-FPM) On Ubuntu 12.04

Discussion in 'HOWTO-Related Questions' started by nzimas, Jul 2, 2012.

  1. nzimas

    nzimas New Member

    I have followed this howto meticulously, but the Sefver API still reverts to CGI/FastCGI, not FPM.

  2. nzimas

    nzimas New Member

    And to make matters slightly more interesting, ever simnce I have enabled the Unix socket, /etc/init.d/php5-fpm start won't initialise PHP-FPM.
    No error message given either.
  3. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in the PHP-FPM error log?

    What's the output of
    ls -la /tmp/

    What's the output of
    netstat -tapn
  4. nzimas

    nzimas New Member

    Hi Falko,

    Things are gettung more interesting.
    After reinstalling everything from the ground up, eventually I have managed to enable php-fpm.

    However, upon switching to unix socket mode, Lighttpd throws the following error:

    I must add that I had to touch /tmp/php5-fpm.sock because it was not automatically created by neither lighttpd nor php-fpm.


    Aghh... my extremely poor sight playing tricks on me. Copied isten = /tmp/php5-fpm.sock instaed of listen = /tmp/php5-fpm.sock
    Sorry about that :(
    Last edited: Jul 4, 2012

Share This Page