|
From: <php...@li...> - 2009-01-21 10:09:19
|
Hi Jost, (sorry for the delay in this response - I sent this originally on the 1/12 using the wrong email address) In the environment I am using (and many other Mac OSX and Mac OSX Server users), the PHP module is an Apache SO and the PHP command line interface is actually a .bin executable and not a fast CGI. I utilize a variety of CRON jobs and such that call the PHP command- line executable directly for non-interactive PHP scripts. Since I don't use the php-cgi I am not sure adding one to the bridge package will help me or maybe other Mac OSX Server users. In the version I am currently running, 3.2.1, I compiled the java bridge from your source files to run as an extension to PHP in Apache 1.3.x and also to run from the command line PHP executable. I am not sure if you have changed the overall structure of the bridge to no longer support this way of doing things or the original stand- alone pure PHP implementation of the bridge you used to have as well. If there is still a pure PHP version of the bridge, maybe that is the way I should go. Otherwise, I am not sure the best way to upgrade to the new bridge from version 3.2.1 (which is working great). Jon On Jan 6, 2009, at 7:51 AM, php-java-bridge- us...@li... wrote: > Hi John, > >> java.lang.RuntimeException: Could not run PHP ([php-cgi, > > what about adding a OSX php-cgi binary to the JavaBridge.war file? > AFAIK OSX doesn't ship with a php-cgi binary. Furthermore all > current PHP binaries aren't exactly stable (see this regression for > example: http://bugs.php.net/bug.php?id=46723&edit=1), anyway. So > it might be a good idea to ship a stable PHP binary along with the > PHP/Java Bridge. > > The Solaris/Linux/... PHP binaries conntained in JavaBridge.war > which have been compiled with: > > cd php-5.1.4; ./configure --disable-all --enable-fastcgi && make > && strip sapi/cgi/php-cgi > > Could you provide such a php-cgi binary for OSX? > > > Regards, > Jost Boekemeier |