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
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