FPM is available in a separate SVN branch
| From: | Antony Dovgal | Date: | Fri, 04 Dec 2009 12:53:52 +0000 |
| Subject: | FPM is available in a separate SVN branch | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-46277@lists.php.net to get a copy of this message | ||
Hello all.
I'm glad to announce that we now have FPM SAPI available for testing in a separate SVN branch.
You can check out its sources using the following command:
svn co http://svn.php.net/repository/php/php-src/branches/PHP_5_3_FPM
php_5_3_fpm
Building FPM is as easy as
./configure --enable-fpm && make install.
After that you need to adjust the default config file (installed into $prefix/etc)
and run php-fpm.
For those who don't know what FPM is: FPM (FastCGI Process Manager) is an alternative
PHP FastCGI implementation with some additional features useful for heavy-loaded sites.
These features include:
- 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;
- "slowlog";
- fastcgi_finish_request() - special function to finish request & flush all data while
continuing to do something time-consuming (video converting, stats processing etc.);
and some more.
You are welcome to test the code and report any issues to me (since it's not fully official,
we don't have a category @ bugs.php.net yet).
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP