php-fpm: patch for php4/5 to greatly improve FastCGI SAPI usage in production

php.internals

Yusuf Goolamabbas

18 years ago
Hi, This was posted by the author of nginx (http://nginx.net/) a high performance web-server/reverse proxy on the nginx mailing list http://php-fpm.anight.org/ Pages are primarily in Russian so if somebody can read/comment/blog about it, would be very much appreciated Regards, Yusuf
-- Yusuf Goolamabbas yusufg@outblaze.com

Antony Dovgal

18 years ago
On 24.10.2007 06:07, Yusuf Goolamabbas wrote:
> Hi, This was posted by the author of nginx (http://nginx.net/) a high > performance web-server/reverse proxy on the nginx mailing list > > http://php-fpm.anight.org/ > > Pages are primarily in Russian so if somebody can read/comment/blog > about it, would be very much appreciated
The main problem is that they are GPLed, hence we cannot include them into PHP-licensed PHP. Try to persuade the author to change the license. I couldn't.
-- Wbr, Antony Dovgal

Stanislav Malyshev

18 years ago
>> Hi, This was posted by the author of nginx (http://nginx.net/) a high >> performance web-server/reverse proxy on the nginx mailing list >> >> http://php-fpm.anight.org/ >> >> Pages are primarily in Russian so if somebody can read/comment/blog >> about it, would be very much appreciated
From what I understand, this is a FCGI controller for PHP (i.e., the other side of FCGI link). However, I'm not sure why any patching of PHP is needed - docs don't seem to explain that and since the code is GPL I'm not sure I want to go look into it.
-- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

Antony Dovgal

18 years ago
On 24.10.2007 11:21, Stanislav Malyshev wrote:
>>> Hi, This was posted by the author of nginx (http://nginx.net/) a high >>> performance web-server/reverse proxy on the nginx mailing list >>> >>> http://php-fpm.anight.org/ >>> >>> Pages are primarily in Russian so if somebody can read/comment/blog >>> about it, would be very much appreciated > > From what I understand, this is a FCGI controller for PHP (i.e., the > other side of FCGI link). However, I'm not sure why any patching of PHP > is needed
Well, I didn't look too deeply into the patches to be sure, but in the same time I could not imagine a way to add a process manager without patching the sapi/cgi sources. IIRC the patches also include patched libevent, which I guess don't want to bundle.
> - docs don't seem to explain that and since the code is GPL > I'm not sure I want to go look into it.
Yep. I tried to explain this to Andrey, but he doesn't seem to be interested in getting the patches committed to the core, so I gave up - it's his choice after all.
-- Wbr, Antony Dovgal