Hi,
I'm writing because I have some problems to install php-java-bridge =20
on my server.
Debian Sarge
Apache 2 prefork 2.0.54-5
PHP Version 5.1.2-1.dotdeb.2
and sun-j2sdk1.5
I've downloaded the rpm packages (php-java-=20
bridge-3.0.7rc-1.FC4.i386.rpm). I've extract files like the README says.
What I've done :
- java.so, JavaBridge.jar, RunJavaBridge, libnatscJavaBridge.so to /=20
usr/lib/php5/20050922/
- modify my php.ini with
=09
extension=3Djava.so
=09
(and)
[java]
java.java_home =3D "/usr/lib/j2sdk1.5-sun"
java.java =3D "/usr/lib/j2sdk1.5-sun/bin/java"
java.log_file =3D "/var/log/php-java-bridge.log"
java.log_level =3D 3
- relaunch apache : /etc/init.d/apache2 reload
- look at phpinfo()
But I'm can't see the Java module enabled on the phpinfo screen.
Is the FC4 rmp a good package for me ?
Is my php version compatible with php-java-bridge ?
This a copy of the test.php :
#!/usr/bin/php Please permanently activate the extension. Loading =20
java extension now... Error: Either the java extension is not =20
installed or it was compiled against an older or newer php version. =20
See the HTTP (IIS or Apache) server log for details.
Warning: dl() [function.dl]: w\=FE@=C0=C2=FD@: Unable to initialize =
module =20
Module compiled with module API=3D20041030, debug=3D0, thread-safety=3D0 =
=20
PHP compiled with module API=3D20050922, debug=3D0, thread-safety=3D0 =
These =20
options need to match in /var/www/test.php on line 15
Warning: dl() [function.dl]: Unable to load dynamic library '/usr/lib/=20=
php5/20050922/php_java.dll' - /usr/lib/php5/20050922/php_java.dll: =20
cannot open shared object file: No such file or directory in /var/www/=20=
test.php on line 15
I would like to use some iCal Java Classes with PHP, please help me =20
to install this bridge.
Regards
Cl=E9ment
|