Re: Regarding PHP-FPM protocols
| From: | Thomas Bley | Date: | Sat, 09 Aug 2014 16:18:45 +0000 |
| Subject: | Re: Regarding PHP-FPM protocols | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76415@lists.php.net to get a copy of this message | ||
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'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 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>