Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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.

http://dotdeb.org has nice packages for Ubuntu/Debian.

For the basic setup see http://interfacelab.com/nginx-php-fpm-apc-awesome/

share|improve this answer
add comment

Your Answer

 
discard

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.