From: <ced...@e-...> - 2005-11-29 19:51:46
|
Hi, I tried to update to the latest PHP version (5.1.1) since it was "highly=20 recommanded for all 5.0.x users", but I'm facing a build problem when=20 trying to compile php-java bridge : /tmp/php-java-bridge-3.0.0rc/java.c: In function `create_exception_object= ': /tmp/php-java-bridge-3.0.0rc/java.c:1570: error: too few arguments to=20 function `zend_fetch_debug_backtrace' Same goes with version 2.0.8. Any fix ? Thanks, C=E9dric |
From: <ced...@e-...> - 2005-11-30 15:06:47
|
Ok, it seems the zend_fetch_debug_backtrace method signature has changed = : it takes one more argument. ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int = skip_last, int provide_object TSRMLS_DC) I changed the corresponding line to the following : zend_fetch_debug_backtrace(trace, 0, 0 TSRMLS_CC); And it builds correctly. Now I'm facing another problem : the bridge = version 3 does not seem to work with my Tomcat server as it did. I'm getting "protocol violation" errors... =09 C=E9dric Champeau =20 > -----Message d'origine----- > De : php...@li...=20 > [mailto:php...@li...] De=20 > la part de C=E9dric CHAMPEAU > Envoy=E9 : mardi 29 novembre 2005 20:51 > =C0 : php...@li... > Objet : [Php-java-bridge-users] Building with PHP 5.1.1 >=20 > Hi, >=20 > I tried to update to the latest PHP version (5.1.1) since it=20 > was "highly=20 > recommanded for all 5.0.x users", but I'm facing a build problem when=20 > trying to compile php-java bridge : >=20 > /tmp/php-java-bridge-3.0.0rc/java.c: In function=20 > `create_exception_object': > /tmp/php-java-bridge-3.0.0rc/java.c:1570: error: too few arguments to=20 > function `zend_fetch_debug_backtrace' >=20 > Same goes with version 2.0.8. Any fix ? >=20 > Thanks, >=20 > C=E9dric >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep=20 > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. =20 > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dick > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users >=20 >=20 |
From: Jost B. <jos...@ya...> - 2005-11-30 19:13:29
|
Hi Cedric, > I tried to update to the latest PHP version (5.1.1) > since it was "highly > recommanded for all 5.0.x users" do you have the same problems with 5.1.0, too? I am currently testing 3.0.0 and 2.0.9 (which is 2.0.8 + one bugfix) against 5.1.0, and it compiled fine. -- There was one serialization problem, but that turned out to be a problem with the backend running in the GNU jvm. So if there's an issue with 5.1.1, then I think there's something broken with 5.1.1. BTW: I usually test the windows version on wine because this catches most of the windows related issues. Since 5.1.0 php runs scripts much faster but crashes during shutdown. This happens all the time, so I don't think it's related to our code. Maybe it is possible to wait until Fedora Core 5 is available next year. After some time these problems usually disappear. :) Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: <ced...@e-...> - 2005-11-30 21:01:07
|
Hi, I haven't tried on 5.1.0 since it has 5.1.1 was out to fix several major=20 issues with 5.1.0. BTW, I am building on a Linux platform. As I said, I=20 discovered that the zend_fetch_debug_stacktrace method signature had=20 changed, and introduced a new parameter called "skip_last" : ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_las= t,int provide_object TSRMLS_DC) Updating the bridge code line 1570 by adding this parameter did the trick= , and I was able to build the bridge. My problem now is about that 403 error with Tomcat when trying to do "PUT= " on the servlet... C=E9dric Jost Boekemeier a =E9crit : >Hi Cedric, > > =20 > >>I tried to update to the latest PHP version (5.1.1) >>since it was "highly=20 >>recommanded for all 5.0.x users" >> =20 >> > >do you have the same problems with 5.1.0, too? > >I am currently testing 3.0.0 and 2.0.9 (which is 2.0.8 >+ one bugfix) against 5.1.0, and it compiled fine. -- >There was one serialization problem, but that turned >out to be a problem with the backend running in the >GNU jvm. > >So if there's an issue with 5.1.1, then I think >there's something broken with 5.1.1.=20 > >BTW: I usually test the windows version on wine >because this catches most of the windows related >issues. Since 5.1.0 php runs scripts much faster but >crashes during shutdown. This happens all the time, so >I don't think it's related to our code. Maybe it is >possible to wait until Fedora Core 5 is available next >year. After some time these problems usually >disappear. :) > > >Regards, >Jost Boekemeier > > > >=09 > >=09 > =09 >___________________________________________________________=20 >Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmel= den: http://mail.yahoo.de > > =20 > |
From: Jost B. <jos...@ya...> - 2005-12-01 18:36:01
|
Hi Cedric, > discovered that the zend_fetch_debug_stacktrace > method signature had > changed have you already reported this to the PHP release team? If PHP5.1.1 is really ABI incompatible with 5.1.0, then this a serious bug which must be fixed immediately! (They cannot change the public API in the middle of a release. If this is necessary, then they must adjust the API_VERSION_NO and change the version number to 5.2). > My problem now is about that 403 error with Tomcat when > trying to do "PUT" on the servlet... I could reproduce this problem. As a workaround please change the java.servlet parameter to java.servlet="/JavaBridge/foo.php" I will fix this bug for version 3.0.0RC2, which will be available tomorrow. Thank you very much for reporting this bug! Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: <ced...@e-...> - 2005-12-02 08:31:23
|
>=20 > have you already reported this to the PHP release > team? If PHP5.1.1 is really ABI incompatible with > 5.1.0, then this a serious bug which must be fixed > immediately! Wow, didn't know it was so serious. I did not report anything. I'll try = to do it. >=20 > (They cannot change the public API in the middle of a > release. If this is necessary, then they must adjust > the API_VERSION_NO and change the version number to > 5.2). >=20 >=20 > > My problem now is about that 403 error with Tomcat > when=20 > > trying to do "PUT" on the servlet... >=20 > I could reproduce this problem. As a workaround > please change the java.servlet parameter to >=20 > java.servlet=3D"/JavaBridge/foo.php" >=20 > I will fix this bug for version 3.0.0RC2, which will > be available tomorrow. Thank you very much for > reporting this bug! Thanks ! C=E9dric |