Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76415 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96355 invoked from network); 9 Aug 2014 16:18:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2014 16:18:15 -0000 Authentication-Results: pb1.pair.com header.from=mails@thomasbley.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mails@thomasbley.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain thomasbley.de from 85.13.137.24 cause and error) X-PHP-List-Original-Sender: mails@thomasbley.de X-Host-Fingerprint: 85.13.137.24 dd15934.kasserver.com Linux 2.6 Received: from [85.13.137.24] ([85.13.137.24:46348] helo=dd15934.kasserver.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/00-30582-4C946E35 for ; Sat, 09 Aug 2014 12:18:13 -0400 Received: from dd15934.kasserver.com (dd0801.kasserver.com [85.13.143.205]) by dd15934.kasserver.com (Postfix) with ESMTPSA id 7DF65261C12; Sat, 9 Aug 2014 18:18:45 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-SenderIP: 95.91.241.108 User-Agent: ALL-INKL Webmail 2.11 In-Reply-To: References: To: internals@lists.php.net Cc: the.warl0ck.1989@gmail.com Message-ID: <20140809161845.7DF65261C12@dd15934.kasserver.com> Date: Sat, 9 Aug 2014 18:18:45 +0200 (CEST) Subject: Re: [PHP-DEV] Regarding PHP-FPM protocols From: mails@thomasbley.de ("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'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 >