Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76432 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40162 invoked from network); 11 Aug 2014 16:11:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2014 16:11:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.175 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.220.175 mail-vc0-f175.google.com Received: from [209.85.220.175] ([209.85.220.175:64468] helo=mail-vc0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/A2-22956-81BE8E35 for ; Mon, 11 Aug 2014 12:11:05 -0400 Received: by mail-vc0-f175.google.com with SMTP id ik5so11858549vcb.34 for ; Mon, 11 Aug 2014 09:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=0NyKcjvRbdJWv1hvpTJF8DzIyd+JIb6G/sBNwjvuvZM=; b=yqdH3dses3sb6X/TYF4SxVPmRTkTB1IEACo+LWUpaSt1hQ4O0dc84DDBPPWUiTtfLA dSWoQGJCLR1Lcw02PldJ5qPaj8qE7wUJm5bDHXcdT6qhEzOoq8ZYUHRUNA8pvyxvSuK8 dr4Pjw/ZROxyJBmJ9FnK5TnEUtpOW8uCpZmocSJWjNm61XlDNQqJBDTVrRMEVQdWhgKN 6i1/UxPOYJwbS5+rlZcI0rA6dVw9Uu5dDxgCTMOuT6xNQCh26eYLKZiDxgwmSzQm+FKF IRYTvUf8GZjtkKxiHWSPQM7RDJ/356AqKj7dHFqaE5eA7P5BLe2QVTk3WJRLN01X5eaf 3N9Q== X-Received: by 10.53.0.164 with SMTP id az4mr819567vdd.52.1407773501864; Mon, 11 Aug 2014 09:11:41 -0700 (PDT) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.220.30.70 with HTTP; Mon, 11 Aug 2014 09:11:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 Aug 2014 18:11:01 +0200 X-Google-Sender-Auth: xYSRl_QEzGHTcM7N0LECvt4frUw Message-ID: To: Aaron Lewis Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Regarding PHP-FPM protocols From: jpauli@php.net (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 FastCGI protocol. You should read its spec, then read FPM and Nginx source code to understand it. This is not a hard protocol though. Julien.Pauli