Thanks to everyone for the help. One last hopefully quick and not too
naive question - can I just exec php and pipe input and output? There is
probably some good reason that is not obvious to me.
terry
Johannes Schlüter wrote:
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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php