Re: [PHP-DEV] Regarding PHP-FPM protocols

2014-08-11 Thread Julien Pauli
On Sat, Aug 9, 2014 at 6:43 AM, Aaron Lewis wrote: > Hi, > > I'm trying to understand how php-fpm works, aka how does nginx > "forward" the request to it. > > Now I want an example program that do it or the document that explains it. > Anyone know where to get those? Hey, This is all about the F

Re: [PHP-DEV] Regarding PHP-FPM protocols

2014-08-09 Thread Thomas Bley
Hello Aaron, you might look at: https://github.com/adoy/PHP-FastCGI-Client/blob/master/src/Adoy/FastCGI/Client.php see buildNvpair() and buildPacket(). and the specification: http://www.fastcgi.com/devkit/doc/fcgi-spec.html Regards, Thomas Aaron Lewis wrote on 09.08.2014 06:43: > Hi, > > I'

[PHP-DEV] Regarding PHP-FPM protocols

2014-08-08 Thread Aaron Lewis
Hi, I'm trying to understand how php-fpm works, aka how does nginx "forward" the request to it. Now I want an example program that do it or the document that explains it. Anyone know where to get those? -- Best Regards, Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/ Finger Print: 9F67 3