Hi all,
Running on Redhat "Linux 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST
2006 i686" according to output of "uname -a" and I'm using PHP 5.0.4
with Apache 2.0.52.
Downloaded php-java-bridge_3.1.8_j2ee and ran the test.sh, which worked
fine. Took the java.so and JavaBridge.jar and put them into my
/usr/lib/php/modules directory and created the appropriate entries in
php.ini to enable java.so, set the java params, etc.
Upon Apache restart, I got this error:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/java.so' - /usr/lib/php/modules/java.so: undefined
symbol: _zval_dtor_func in Unknown on line 0
Then downloaded the RPM and simply extracted the files (I don't have
root access) and grabbed the java.so and other files that belong in
/usr/lib/php/modules (I did notice that the java.so was much larger).
This time, I got a different error:
PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/java.so' - /usr/lib/php/modules/java.so: cannot
open shared object file: Permission denied in Unknown on line 0
Again, running it outside of Apache (using test.sh) worked fine. But for
some reason I can't get java.so to work when loading it via Apache.
Any ideas would be greatly appreciated!
Thanks
|