PHP-bridge. Integrating Java with PHP stability problem.

"Anna Bondarenko" <[email protected]> Thu, 4 Jan 2007 17:54:20 +0200
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <00c401c73018$99220380$222c2a0a@pc3>
Hello

Has anybody Java and PHP working together? Could you pls give an instruction how to make this?
I use jetspeed-2 but will be glad to see an example with any java-system.

I am trying to launch php-bridge on my jetspeed-2. But I have a problem: 
when I run the php-portlet my Java-mashine craches with access violation in
php4ts.dll. 
From start build-in php-portlet did not work. Then I made changes in two 
files reflect.properties and servlet.properties (in phpportlet-1.0.jar
library), I'v wrote there: library=phpsrvlt, and it did not work again. Then 
I made more changes as
Alexey Manulenko described in mailing list 
(http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200608.mbox/%[email protected]%3E) 
 - after that it works several times (4-5) and craches.

That's my system configuration:
OS: WinXP
Java jdk1.5.0_09
Apache Tomcat/5.5.12
Jetspeed2.0-MultiDB-install.jar
PHP: 4.4.4
I tried also to work with differet versions of php - and get the same
result.

I don't know now how to make it working stable or at least how to find the 
couse of an error.

Can you help me in that? 

Thank you 
Anna