I'm new to PHP but have been programming servlets for several years. I have searched high and low for information on integrating php code (PHPLive Support http://www.phplivesupport.com from OSI codes in particular) into a java servlet. There's not much information on the SAPI extension besides the same few posts copied over and over. Does anyone have any experience with this? We run the servlets under jrun.
I've read stability is a major problem in integrating java with PHP and the more stable solution is integrating the PHP into a servlet and not using the java extension. I need to figure out the best way to integrate the PHPLive code into existing java libraries. I've fooled around with the java extension with the basic java examples (calling java.lang.System) but because of the lack of information on this, I have a lot of concerns before moving forward.
Any information would be greatly appreciated on your experiences and recommendations. Thanks