JavaClasses and PHP4
| From: | Clemens Schwaighofer | Date: | Mon, 14 Aug 2000 18:28:33 +0000 |
| Subject: | JavaClasses and PHP4 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11665@lists.php.net to get a copy of this message | ||
Hi!
I tried to install the Java feature with PHP4 ... and I failed. I tried
it
on a RedHat 6.2, with apache 1.3.12 and php4pl2 and kaffe 1.0.5.
I set up everything as said in the README in /ext/java but after
restarting the
webserver, I tried to start the sample php pages, but all I get is this
eg in: http://bfi.pixelwings.com/java/jawt.php
Fatal error: Unable to load Java Library /libkaffevm.so in
/home/httpd/html/java/jawt.php on line 5
this .so is in the correct directory, and I also configured PHP.ini like
this and added:
[java]
java.library.path=/usr/lib/kaffe:/usr/src/web_server/php-4.0.1pl2/modules
java.class.path=/usr/share/kaffe/Klasses.jar:/usr/src/web_server/php-4.0.1pl2/modules/php_java.jar
extension_dir=/usr/src/web_server/php-4.0.1pl2/modules
extension=libphp_java.so
anybody knows if there is a possibilty to get this thing working ? and
is it worth to try it out ? is it
stable and can I really do some java programming ?
any help would be really great! thank you.
--
mfg, Clemens Schwaighofer
PIXELWINGS Medien AG
Kandlgasse 15/5, A-1070 Wien, T: [+43 1] 524 58 50 - 52
http://www.pixelwings.com/