Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45061 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65902 invoked from network); 23 Jul 2009 10:18:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2009 10:18:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 213.92.90.60 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 213.92.90.60 ispeed-srv6.housing.tomato.it Received: from [213.92.90.60] ([213.92.90.60:50709] helo=mail.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/E1-56174-DE8386A4 for ; Thu, 23 Jul 2009 06:18:22 -0400 Received: (qmail 37104 invoked from network); 23 Jul 2009 12:18:18 +0200 Received: from unknown (HELO ?192.168.1.201?) (matteo@beccati.com@88.149.176.119) by mail.beccati.com with SMTP; 23 Jul 2009 10:18:18 -0000 Message-ID: <4A6838E4.4020601@beccati.com> Date: Thu, 23 Jul 2009 12:18:12 +0200 User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Terry Braun CC: php internals References: <4A676B5B.4060804@tabraun.com> In-Reply-To: <4A676B5B.4060804@tabraun.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP support in a web server From: php@beccati.com (Matteo Beccati) Terry Braun ha scritto: > Hi, > I have a created a small web server written in JavaScript (it runs on > the Rhino engine). http://github.com/talkingtab/whimjs/tree/master > > I want to add PHP support. I understand that I need to support the > fastcgi spec and that is the pipe between the server and PHP, but what > are the variables and their names. If fastcgi is the pipe and I'm > trying to understand what needs to be sent down the pipe. I have not > been able to find documentation, and even better would be a sample > implementation in Java or python. > > If this isn't the right place to ask, could some point me to the right > place? http://www.fastcgi.com/devkit/doc/fcgi-spec.html maybe? Cheers -- Matteo Beccati OpenX - http://www.openx.org