Current recommended /state of the art PHP + Nginx stack?

Hi there and thanks for the great forum and software :slight_smile:

I’ve been running lighttpd for a while but it’s giving me too much
downtime with spawn-fcgi and the frequent 500 server errors…so I’d
like to move over to nginx

What’s the current recommended stack/setup to run Nginx? it’s for a
webserver with a community application similar to a forum, so not too
much static content, lots of php and lots of mysql

For example, nginx + php-fpm all under supervisord?

Up to now I’ve been using monit + lighttpd + spawn-fcgi but I’m not
completely happy with that…

If any of you have found a stack they’re completely happy wight, I’d
like to hear it :slight_smile:

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,70225,70225#msg-70225

On Thu, Apr 1, 2010 at 8:11 AM, RoastedPeanut [email protected]
wrote:

For example, nginx + php-fpm all under supervisord?

i use nginx 0.8.x and php 5.2.13 w/ php-fpm patch + suhosin patch and
it’s rock solid. no supervisord or anything

RoastedPeanut Wrote:

If any of you have found a stack they’re
completely happy wight, I’d like to hear it :slight_smile:

If you’re using debian/ubuntu then dotdeb.org has PHP 5.3.2 in their
repository based on the php.net svn with php-fpm already compiled in.
No compiling required, just apt-get. (and a couple manual packages for
ubuntu because of naming differences from debian) It’s been working
well, though some Drupal contrib modules needed some minor PHP 5.3
compatibility patches.

http://www.dotdeb.org/2010/03/08/php-5-3-2-is-available-too/

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,70225,70337#msg-70337

On Thu, 2010-04-01 at 15:44 -0400, RoastedPeanut wrote:

I’m actually using centos since it’s well supported by virtualmin,
I’ve found a “rusia repo” (search it on google) that lets you install
nginx + php-fpm automatically…

For the lazy:

http://centos.alt.ru/
http://adityo.blog.binusian.org/?p=654

Cliff

I’m actually using centos since it’s well supported by virtualmin, I’ve
found a “rusia repo” (search it on google) that lets you install nginx +
php-fpm automatically…
So what are you using to keep it up in case nginx or php-fpm goes down?
monit or supervisord? :slight_smile:

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,70225,70352#msg-70352

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs