Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42936 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98964 invoked from network); 5 Feb 2009 15:18:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2009 15:18:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.170.191 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 64.233.170.191 rn-out-0910.google.com Received: from [64.233.170.191] ([64.233.170.191:26874] helo=rn-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/B0-24530-F430B894 for ; Thu, 05 Feb 2009 10:18:41 -0500 Received: by rn-out-0910.google.com with SMTP id k43so212138rnd.0 for ; Thu, 05 Feb 2009 07:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vVoVxn838PbR3fUdV45GE1v9T5aHN7tISeE76yj2pnA=; b=BwO9fWC4dfz4zep7fM47HHg7fVwUsjGNH/gvy0QMUziAwnBEOKCIlchxIfC3hnOeGx jAKrvuxVYz1QFfRuMOBrx2NKsq3inIe7DT5RBvWHgZfgxvQvjBNMrz6J64uzZdla3HUB wm2sRRuwib+nlWh0EDG/alZYiw9Ycu8gAiHew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cNsWTasyF864PClctfnSYCtawbTgL0EI/mp/jBq1atWheOMAigy8fP4vWEpURuMN0L eOwKOMWMduuam1Qoq2GLyAjZp+cVSyt73IXx2+fQtAsbNpxwQYCxdiWBSF0Xmlf1azlp eZDLrClVMvsG0OWMd7uIsXMZ+VdAe6yDsm6qA= MIME-Version: 1.0 Received: by 10.100.143.12 with SMTP id q12mr281420and.22.1233847116927; Thu, 05 Feb 2009 07:18:36 -0800 (PST) In-Reply-To: <498B01E6.2010605@talking.com> References: <498B01E6.2010605@talking.com> Date: Thu, 5 Feb 2009 18:18:36 +0300 Message-ID: To: Terry Braun Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] adding support for PHP to a web server From: indeyets@gmail.com (Alexey Zakhlestin) On Thu, Feb 5, 2009 at 6:12 PM, Terry Braun wrote: > Hello, > I've written a small web server and I'd like to add support for php to the > server. Could anyone direct me to documentation or examples and give me some > sense of how hard this would be. Put another way, if I have a working PHP > installation and a web server how do the two communicate? > > The webserver is written in javascript running on rhino which in turn runs > on java so probably the access would be through java. The most simple way is to use cgi or fastcgi protocol. I think, there should be some java-libraries implementing that -- Alexey Zakhlestin http://www.milkfarmsoft.com/