Forum: NGINX fcgi server

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F28eb3d563d0ab9b4f4f4e89ef77891a?d=identicon&s=25 Yordan Georgiev (Guest)
on 2009-03-29 17:23
(Received via mailing list)
Здравствуй, Игорь.

Я использую твой веб сервер, но чтобы 
использовать php support я
пользуюсь
spawn-fcgi. Есть ли у тебя какие-то идеи пустить 
fcgi сервер и есть ли у
тебя наблюдения на счет spawn-fcgi, т.e. что он 
самый лучший или можешь
посоветовать другой?

Благодарю за хорошо выполненную работу.

С уважение,
Й. Георгиев.
2e321cc0efe9422d37165e922298494e?d=identicon&s=25 Cliff Wells (Guest)
on 2009-03-29 19:55
(Received via mailing list)
A lot of people recommend php-fpm:

http://php-fpm.anight.org/

Personally I just use a script:

http://wiki.nginx.org/RedHatPHPFCGIInitScript

Regards,
Cliff
2974d09ac2541e892966b762aad84943?d=identicon&s=25 Jim Ohlstein (Guest)
on 2009-03-30 19:21
(Received via mailing list)
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
2e321cc0efe9422d37165e922298494e?d=identicon&s=25 Cliff Wells (Guest)
on 2009-03-30 22:39
(Received via mailing list)
On Sun, 2009-03-29 at 20:11 -0400, Jim Ohlstein wrote:
> 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.

I'm using the stock PHP on CentOS 5.2.   I wish "php -i" would offer the
info without all the HTML crap so I could easily paste it here.   If
you're really interested, I can probably install something to strip the
text out.

Cliff
2974d09ac2541e892966b762aad84943?d=identicon&s=25 Jim Ohlstein (Guest)
on 2009-03-30 23:09
(Received via mailing list)
Cliff Wells Wrote:
-------------------------------------------------------
> > > Personally I just use a script:
>
> I'm using the stock PHP on CentOS 5.2.   I wish
> "php -i" would offer the
> info without all the HTML crap so I could easily
> paste it here.   If
> you're really interested, I can probably install
> something to strip the
> text out.

That's probably php 5.1.6 with "everything". No
need. I can find it myself. Thanks anyway.

>
> Cliff

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,609,623#msg-623
This topic is locked and can not be replied to.