A how to guide

PHP-FPM is a FastCGI process manager for PHP. The PHP-FPM has additional features that can make it appealing for any crowd. To name a few:

Emergency restart in case of accidental opcode cache destruction

Enhancements to FastCGI, such as fastcgi_finish_request()

Ability to start workers with different uid/gid/chroot/environment and different php.ini (replaces safe_mode)

Adaptive process spawning

PHP-FPM has been available for quite some time, however, it is new to the PHP 5.3. There is a bit of configuration that you will need to do with PHP in order to get up and running with PHP-FPM. If you are afraid of compiling or not using your package managers builds, then you may want to stop reading now.

PHP-FPM Installation

FPM is now avaiable on PHP 5.3.x. To install php with fpm you need to enable it. How? Very simple, compile php as you allways do and add: