|
From: <php...@li...> - 2008-10-06 09:45:33
|
Hi,
thanks for all the advise. I tried your solution of copying php-cgi.exe and
php5ts.dll to my local working directory. That indeed
solved the issue of the Stackoverflow I got on the command prompt with the
interactive php engine.
I am attempting now to resolve the problems I described using the bridge
from Netbeans. I'll keep you posted on the outcome, though
it may take some time (sometime next week likely) before I can get back to
you.
Thanks already!
Bart
On Fri, Sep 26, 2008 at 8:51 PM, <
php...@li...> wrote:
> 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
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
--
The new is always the old. Everything that's old was once new, and
everything that's new will one day be old. The oldest thing of all is the
present, because there's never been anything else but the present. No one
has ever lived in the past, and no one lives in the future, either.
|