Dear all,
I have tried to run PHPJavaBridge on Apache 1.3.X and PHP 5.1.2.
I cannot run the test.php with the following error message:
Warning: dl() [function.dl]: Not supported in multithreaded Web servers -
use extension=php_java.dll in your php.ini in c:\program files\apache
group\Apache\htdocs\test.php on line 4
java extension not installed.
Meanwhile, from the JavaBridge.log, it displays:
ê 29 13:15:17 JavaBridge INFO : @c53dce No visible constructor found
in: java.lang.System, returning the class instead of an instance; this may
not be what you want. Please correct this error or please use new
JavaClass(java.lang.System) instead.
Here is the PHP profile from result.html:
java support Enabled
java bridge 3.0.6
java.java_home C:\Program Files\Java\j2re1.4.1_02
java.java javaw
java.wrapper no value (use default wrapper)
java.log_file <stdout>
java.log_level 3
java.ext_java_compatibility Off
java command javaw -Djava.library.path=c:\php5\ext
-Djava.class.path=c:\php5\ext/JavaBridge.jar -Djava.awt.headless=true
php.java.bridge.JavaBridge INET_LOCAL:9267 3 ""
java status running
java server 9267
I just started JavaBridge.jar in standalone mode and could anyone please
advise me what I could do for the workarounds or any successful server
versions (i.e. apache version and PHP version) on Win32 platform ?
Thank you for your help and advice.
Regards,
Anthony
|