What is PHP-FPM?
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.
These features include:
- Adaptive process spawning (NEW!)
- Basic statistics (ala Apache's mod_status) (NEW!)
- Advanced process management with graceful stop/start
- Ability to start workers with different uid/gid/chroot/environment and different php.ini (replaces safe_mode)
- Stdout & stderr logging
- Emergency restart in case of accidental opcode cache destruction
- Accelerated upload support
- Support for a "slowlog"
- Enhancements to FastCGI, such as fastcgi_finish_request() - a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)
... and much more.
It was not designed with virtual hosting in mind (large amounts of pools) however it can be adapted for any usage model.
Nov 29, 2011
. PHP-FPM is no longer marked as "experimental" as of PHP 5.4.0RC2.
Jan 11, 2011
PHP-FPM patch released for PHP 5.2.17. Download
Dec 16, 2010
PHP-FPM patch released for PHP 5.2.16. Download
Dec 09, 2010
PHP-FPM patch released for PHP 5.2.15. Download
Jul 22, 2010
PHP 5.3.3 is released
and now bundles PHP-FPM, with all of the new improvements - adaptive process spawning, the new INI file format and include support, basic metrics for reporting, and more. If your code is PHP 5.3 compliant, it is highly recommended that you upgrade to take advantage of the built-in PHP-FPM support now (not to mention mysqlnd and all the other new features.)
PHP-FPM patch released for PHP 5.2.14. Download
May 26, 2010
Antony Dovgal announced that PHP-FPM is now being packaged in PHP core's trunk. Read here
. Official instructions for downloading will be up shortly.
May 13, 2010
PHP-FPM patch released for PHP 5.2.13. Download
Mar 17, 2010
Antony Dovgal says PHP core's PHP-FPM will not be released in PHP 5.3.3, but looks like PHP 5.4. Read here.
Update: it made it in to 5.3.3!
Dec 04, 2009
Antony Dovgal announces PHP-FPM has been put into a SVN branch in PHP core. This is an exciting development. It will be a while before it hits production status, but this is a great move for the future.
Nov 23, 2009
I'm working on restructuring the wiki and such. Please bear with me.
For the time being, the old/legacy wiki is up @ http://legacy.php-fpm.org/
The soon-to-be-new-updated wiki, is still up as well, but the content should be changing drastically. http://php-fpm.org/wiki/