From: <php...@li...> - 2006-10-06 16:49:09
|
Hi, please excuse the delay. I assume you're running setup #6 (see http://php-java-bridge.sourceforge.net/README). It is possible to adjust the php_exec option, see WEB-INF/web.xml. It defaults to WEB-INF/cgi/php-cgi-<arch>-<os>, which is PHP 5.1. You can set it to c:/php-cgi.exe for example. > don't want to run the slower pure PHP implementation The pure PHP implementation needs PHP >= 5 anyway. When you use an accelerator technology, the pure PHP implementation isn't much slower than the C-based implementation. Round-trips are most expensive, but they can eliminated by sending the Java() statements in a single stream, e.g.: java_begin_document(); java statements; java_end_document(); So I think the lack of performance is not a good argument to dismiss the pure PHP implementation. :) Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |