Problem installing php-java-bridge
Posted on 2006-04-19
My ultimate goal is to use apache 2.2 with tomcat 5.5 on freebsd 6.0 to speed up my app that uses php and java. everything works untils I test the php-java bridge. The error says:
Warning: dl() [function.dl]: java: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=1, thread-safety=0
These options need to match
in /usr/local/www/apache22/data/test.php on line 15
There doesn't seem to be a freebsd port for the php-java-bridge, so I had to download/configure/make install. I figure that the problem has to do with debug=1 vs. debug=0, but I can't figure out how to correct it. I've spent an enormous number of hours trying to solve this one ...