ЗдравÑтвуй, Игорь.
Я иÑпользую твой веб Ñервер, но чтобы иÑпользовать php support Ñ
пользуюÑÑŒ
spawn-fcgi. ЕÑÑ‚ÑŒ ли у Ñ‚ÐµÐ±Ñ ÐºÐ°ÐºÐ¸Ðµ-то идеи пуÑтить fcgi Ñервер и еÑÑ‚ÑŒ ли у
Ñ‚ÐµÐ±Ñ Ð½Ð°Ð±Ð»ÑŽÐ´ÐµÐ½Ð¸Ñ Ð½Ð° Ñчет spawn-fcgi, Ñ‚.e. что он Ñамый лучший или можешь
поÑоветовать другой?
Благодарю за хорошо выполненную работу.
С уважение,
Й. Георгиев.
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
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: Re: fcgi server
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: Re: fcgi server
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