Quote:
Originally Posted by stien
Hi,
I'm looking for someon who can help me with a problem with the php/java integration...It just won't work..
Here are some data to describe the software/system I'm working with:
OperatingSystem: Windows Xp
Webserver: Apache 2.2.3
PHP: PHP5.2
Java: j2sdk1.4.2_12
I found a possible integration on http://be.php.net/java. Idownloaded pecl-5.2.1-Win32.zip and extracted it in the extension directory of PHP. Next I modified my php.ini file and added:
[Java]
extension=php_java.dll
java.library.path=C:\ms4w\Apache\php\ext
java.class.path="C:\ms4w\Apache\php\ext\php_java.j ar"
java.home=C:\j2sdk1.4.2_12\
java.library=C:\j2sdk1.4.2_12\jre\bin\server\jvm.d ll
Now when I try to open a webpage with the new Java() statement, there's always an error (wich appears in a new window) saying CGI/FastCGI has encountered a problem and has to be terminated...
Does anybody know how to fix this...or what's causing the error?
thx
kristien
Hi Kristien
I am also stuck on that.
try to refer this link, it might clear your doubt.
http://bugs.php.net/bug.php?id=29134&edit=1
I dont know where you got the .jar file from.
Because its not available php5 extensions.
But if you are using the old .jar file might likely not work.
The better way is to compile your classes explicitly and then start the program.
Hope this helps
Varun