Fritz Thomas

28 Jun, 2010

PHP-5.3.3 with php-fpm included?

Posted by: Fritz Thomas In: Open-Source|PHP

If you look at the RC1 source of the upcoming 5.3.3 release of PHP you see that the PHP-FPM sapi is already included. PHP-FPM was announced to be in the 5.4 release. Hopefully this gets not changed in the final release.
Why i am so excited about that? “PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.”

Some features:

  • 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.)

If you do not want to wait until php-fpm is finally in an official php release, you can easily and safely use php-fpm on every php-5.3 release. It is also possible to patch the current stable version of php-5.2.13. Follow the instructions on their Download Site

Additional Information for php-fpm:

  • Digg
  • del.icio.us
  • DZone
  • MisterWong
  • Reddit
  • Slashdot
  • Technorati
  • Google Bookmarks
  • Facebook
  • Twitter
  • Yahoo! Bookmarks
  • Yigg
  • LinkedIn
  • MySpace
  • PDF
  • RSS

No Responses to "PHP-5.3.3 with php-fpm included?"

Comment Form



Latest Tweets