Solaris 8 Apache 1.3.22 php 4.1.0 and java configuration
| From: | Martti Jeenicke | Date: | Wed, 09 Jan 2002 15:21:11 +0000 |
| Subject: | Solaris 8 Apache 1.3.22 php 4.1.0 and java configuration | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5522@lists.php.net to get a copy of this message | ||
Hello together,
I need some help. I tried to configure php with java-support but it just does not work.
I have the following entries in my php.ini file:
java.class.path = /usr/j2se/lib:<path to php>/php-4.1.0/ext/java/php_java.jar
java.library.path = /usr/j2se/jre/lib/sparc/
java.library = /usr/j2se/jre/lib
java.library = libjvm.so
extension_dir=<path to php>/php-4.1.0/modules/
extension=libphp_java.so
But when I try one of the examples from the php documentation I always get the "Cannot instantiate non-existent class" error. All I try is to get an instance of Java class java.lang.System.
Any ideas ?
Thanks in advance!
Martti