|
From: <php...@li...> - 2008-09-26 18:51:54
|
Hi,
> Java 1.6.0.6 with PHP 5.2.2 [..] bridge version 5.2.2
I am sorry, but I cannot reproduce this problem using the above software.
* downloaded PHP/Java Bridge version 5.2.2 and extracted it into c:\
* downloaded Java 1.6.0_06 and installed it
* downloaded PHP 5.2.2 and copied php-cgi.exe and php5ts.dll to
C:\php-java-bridge_5.2.2.4_j2ee\JAVA.STANDALONE
C:\php-java-bridge_5.2.2.4_j2ee\JAVA.STANDALONE>c:\programme\java\jdk1.6.0_06\bin\jrunscript -classpath JavaBridge.jar -l php-interactive
php-interactive> echo 1+2
3
php-interactive> java_autoload();
php-interactive> echo java_lang_System::type()->getProperty("java.version");
1.6.0_06
php-interactive> echo phpversion();
5.2.2
php-interactive> echo php_java_bridge_Util::type()->VERSION;
5.2.2.4
php-interactive>
> Exception in thread "main"
> java.lang.StackOverflowError
php.java.script.InteractivePhpScriptEngine.eval(InteractivePhpScriptEngine.java:89)
The StackOverflowError usually happens when a simple "<?php ?>" call fails.
Please check your PHP installation. Remove it, if necessary, and copy
the php-cgi.exe and php5ts.dll into the local working directory.
Check which extension breaks your system PHP installation. Most likely you use an old Java extension or the Java extension from Zend. Both don't work correctly (at least not with JSR223).
Regards,
Jost Boekemeier
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
|