Welcome! Log In Create A New Profile

Advanced

Re: fcgi server

March 29, 2009 08:11PM
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
>

--
Jim Ohlstein
Subject Author Posted

fcgi server

Yordan Georgiev March 29, 2009 11:11AM

Re: fcgi server

Cliff Wells March 29, 2009 01:44PM

Re: fcgi server

Jim Ohlstein March 29, 2009 08:11PM

Re: fcgi server

Cliff Wells March 29, 2009 11:26PM

Re: fcgi server

Jim Ohlstein March 30, 2009 12:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready