fcgi server

Jim Ohlstein nginx-forum at nginx.us
Mon Mar 30 04:11:12 MSD 2009


Cliff Wells Wrote:
-------------------------------------------------------
> A lot of people recommend php-fpm:
> 
> http://php-fpm.anight.org/
> 
> Personally I just use a script:
> 
> http://wiki.nginx.org/RedHatPHPFCGIInitScript

What version of  php and what compile options are you using? I've been using php-fpm but tested the above on 5.2.8. It worked fine on php-cgi compiled with php-fpm (even though php-fpm was not being used!), but without it I got a 502.

This is what I use (with or without "--enable-fpm" depending on whether I have applied the patch). 

./configure --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --with-mcrypt --with-zlib --enable-mbstring --with-openssl --with-mysql --with-mysqli --with-mysql-sock --with-gd --enable-gd-native-ttf --with-bz2 --with-curl --with-freetype-dir=/usr -with-jpeg-dir=/us --with-pspell --with-sqlite --enable-pdo --enable-reflection --with-gettext --enable-soap --enable-dom --with-png-dir --with-mhash --with-mcrypt


> 
> Regards,
> Cliff
>

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,609,617#msg-617






More information about the nginx mailing list