4

It seems to be universally recommended to run Nginx as a reverse proxy in front of Apache but there seems to be a devision in opinion on whether Apache + mod_php or Nginx are better for serving dynamic requests and ditto with php+fpm vs fastcgi when using Nginx to serve PHP.

Can anyone offer any good pointers or advice?

Thanks,

Ian

1 Answer 1

1

you can use php-fpm instead of fastcgi. I use nginx + php-fpm for my site with about 40 000 visitors and about 1 000 000 pages per day.

2
  • My question was why would you do that though? - what are the advantages of php-fpm over fastcgi?
    – ichilton
    Jan 27, 2011 at 13:09
  • 2
    @ichilton PHP-FPM is fastcgi, it's literally an an acronym of PHP Fastcgi Process Manager. The FPM project was born to fix mistakes in the fastcgi process handling of vanilla PHP. The improvements in stability and features such as the slow log, pools etc is just hugely useful in a lot of situation. Jan 27, 2011 at 14:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .