PHP linking to Java: HOW-TO

From: Date: Tue, 18 Jun 2002 10:18:08 +0000
Subject: PHP linking to Java: HOW-TO
Groups: php.qa 
Request: Send a blank email to php-qa+get-5547@lists.php.net to get a copy of this message
None of the online user posts in setting up Java connectivity from within PHP have worked. RPM tarball. Do you know of anyone who has an RPM of PHP, with the standard MySQL, GD, Postgres, WDDX, etc...but also libphp_java.so correctly set-up? The Windows PHP has Java support right off the bat with an edit the the .ini file. On Win 98, no prolbems at all. But on my Linux paritions... There are dozens if not hundreds trying to get this to work. All of them could be helped with an RPM or a definitive answer. I can't search news.php.net because it is "offline." My system: Sun Java2 JDK 1.4.0, Red Hat 7.1, Apache 1.3x. I have tried all versions of PHP tarballs since 4.04p1 And I'm not alone in this frustration. Yes, sometimes there is a libphp_java. There is always the .jar file. But after editing the .ini, doing all manner of thins with LD_LIBRARY_PATH/ldconfig, nothing! The best I ever got was a page that registered the .so module, but never finished output. (I use a test page with phpinfo() and a sample call to get a Java timestamp. Help!!! Regards, John B.

« previous php.qa (#5547) next »