Re: adding support for PHP to a web server
| From: | Alexey Zakhlestin | Date: | Thu, 05 Feb 2009 15:18:36 +0000 |
| Subject: | Re: adding support for PHP to a web server | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42936@lists.php.net to get a copy of this message | ||
On Thu, Feb 5, 2009 at 6:12 PM, Terry Braun <tab@talking.com> 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/