From: Jim D. <jd...@ho...> - 2005-09-24 19:43:46
|
Jost, Thanks for compiling for RH 9.0, that solves that problem. I have a problem with PHP seeing the java.so. When I run a test with, echo '<php phpinfo() ?>' | php | fgrep java, I get the folllowing error; PHP Warning: Unknown(): Unable to load dynamic library './java.so' - ./java.so: cannot open shared object file: No such file or directory in Unknown on line 0 (I tried the full path also in the php.ini, "extension=/usr/local/lib/php/ext/java.so") What I have done, 1- Tested and confirmed that I have PHP 4.4.0. It is running fine and serving up web pages. 2- I copied the java.so to the PHP install directory, /usr/local/lib/php/ext 3. I added "extension=java.so" to the php.ini 4 - I copied JavaBridge.jar /usr/opt/tomcat/webapps/WEB_INF/lib (Is this the correct directory to copy to JavaBridge.jar to?) Thanks, for the compiled code, and I really appreciate your help! Jim >From: Jost Boekemeier <jos...@ya...> >To: Jim Douglas <jd...@ho...>, >wil...@co...,php...@li... >Subject: Ant: RE: Ant: [Php-java-bridge-users] Problem compiling version >2.0.7 on RedHat 9 >Date: Mon, 19 Sep 2005 22:05:34 +0200 (CEST) > >Hi, > >[please excuse the delay] > >the java.so for RH9/php4.4 is available at: > >http://php-java-bridge.sourceforge.net/php-java-bridge_2.0.8-RH9-php4.4.tar > >It contains java.so (version 2.0.8) and JavaBridge.jar >(version 2.0.8). Please copy the java.so into the >extension directory of you php 4.4 installation and >please make sure that the php executable /usr/bin/php >is indeed the php4.4 cgi binary. > > >To compile the php-java-bridge on RH9, please follow >the "Installation from source" instructions in the >INSTALL document. binary or source RPM's cannot be >used on RH9, this rpm distribution is too old, sorry. > >In case you don't want to install autoconf 2.57, >automake 1.6.3 and libtool 1.4.3, please see the >"Compiling the bridge without autoconf" section. > > >Regards, >Jost Boekemeier > > > > > > > >___________________________________________________________ >Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier >anmelden: http://mail.yahoo.de > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. >Download it for free - -and be entered to win a 42" plasma tv or your very >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >php-java-bridge-users mailing list >php...@li... >https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |