Fcgi server


#1

Здравствуй, Игорь.

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

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

С уважение,
Й. Георгиев.


#2

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


#3

Cliff W. 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


#4

Cliff W. 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


#5

On Sun, 2009-03-29 at 20:11 -0400, Jim O. 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