Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a VM with only 256MB of RAM that is running nginx and PHP 5.3. Since I am resource constrained (cannot change the amount of RAM in the VM) I am looking into the various ways of setting up FastCGI for PHP. Perhaps my Google-fu is weak, but I cannot seem to find much about my options when setting up FastCGI or any best practices advice.

I am interested in being direct to information on:

  1. What FastCGI servers options are there?
  2. Are any of these clearly better or worse than the others?
  3. Considering my setup (256MB RAM, nginx) are there any clear resources or technical blogs that I should be following for advice?
share|improve this question
up vote 2 down vote accepted

I recommend using php-fpm to manage the fastcgi processes.

There are a lot of options to control the number of childs etc. has nice packages for Ubuntu/Debian.

For the basic setup see

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.