Re: adding support for PHP to a web server
| From: | Johannes Schlüter | Date: | Thu, 05 Feb 2009 16:37:53 +0000 |
| Subject: | Re: adding support for PHP to a web server | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42940@lists.php.net to get a copy of this message | ||
Hi,
On Thu, 2009-02-05 at 17:08 +0100, Kalle Sommer Nielsen wrote:
> Currently theres no SAPI documentation, however like Alexey said it
> would probably be easier to just the cgi/fastcgi protocol.
There's a chapter in Sara's book. sapi/embed is a quite simple example
of an SAPI. But I agree (Fast)GI sounds like a saner way,else you'd have
to provide some C wrapper giving you some APIs you can use from your
Java code. Directly using PHP APIs via JNI doesn't really sound like
fun.
johannes