flocsy

Registered
Aug 30, 2006
2
0
151
I am trying to install Java module into php 5.1.4.

I recompiled apache with the checkbox of Java checked.
I can see that it compiles php with --with-java=/usr/local/jdk
The apache server is restarted.

When I run phpinfo() I can see JAVA_HOME set to /usr/local/jdk, but there's no Java module.
Even with dl('java.so') I can't load it. Actually updatedb ; locate java.so didn't find anything on the server.

What should I do in order to be able to use $system = new Java('java.lang.System') in my php scripts?

Thanks in advance, Gavriel
 

cheriescor3

Registered
Sep 23, 2006
2
0
151
im still new at this but since no one has replied i'll give my 2 cents
i believe you have to enable the modual in php.ini
and also set the directory that the modual is in.I found this info here so maybe thats why no reply s,
 
Last edited: