Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45060 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17342 invoked from network); 22 Jul 2009 19:41:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2009 19:41:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=tab@tabraun.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tab@tabraun.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain tabraun.com from 209.85.216.193 cause and error) X-PHP-List-Original-Sender: tab@tabraun.com X-Host-Fingerprint: 209.85.216.193 mail-px0-f193.google.com Received: from [209.85.216.193] ([209.85.216.193:45509] helo=mail-px0-f193.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 31/A0-14333-26B676A4 for ; Wed, 22 Jul 2009 15:41:24 -0400 Received: by pxi31 with SMTP id 31so206782pxi.29 for ; Wed, 22 Jul 2009 12:41:20 -0700 (PDT) Received: by 10.114.210.3 with SMTP id i3mr1073856wag.207.1248291680037; Wed, 22 Jul 2009 12:41:20 -0700 (PDT) Received: from ?10.0.1.2? (static-72-71-192-6.cncdnh.fios.myfairpoint.net [72.71.192.6]) by mx.google.com with ESMTPS id j15sm1713226waf.51.2009.07.22.12.41.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 22 Jul 2009 12:41:18 -0700 (PDT) Message-ID: <4A676B5B.4060804@tabraun.com> Date: Wed, 22 Jul 2009 15:41:15 -0400 User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: php internals Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: PHP support in a web server From: tab@tabraun.com (Terry Braun) 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? Thanks for the help! Terry