RE: [PHP-WIN] Problem instantiating Java in PHP on IIS

From: Date: Tue, 26 Sep 2000 15:01:20 +0000
Subject: RE: [PHP-WIN] Problem instantiating Java in PHP on IIS
Groups: php.windows 
Request: Send a blank email to php-windows+get-2811@lists.php.net to get a copy of this message
>Are you able to get Java programs to work "in-process" with PHP? >I tried to instantiate a Java class in PHP and it resulted in "Access >Violation at xxxx", crashing the PHP scripting engine in IIS. At the moment, >I could only think about using the exec() function to run the applet >externally. Are you using the ISAPI extension? I haven't tried that. I also haven't used IIS much (other than CGI). However, I noticed that for the PHP executable to run jver.php successfully I had to add both jre\bin and jre\bin\classic to my PATH. I'm using the IBM JDK so your JDK may require different directories to be included (look for the directories that contain the java.dll and jvm.dll). If you haven't already done so, please read the README in the %PHP4SRC%\ext\java directory. It contains a lot of details for the kinds of things you can try to configure different JDKs on different platforms. Alex

« previous php.windows (#2811) next »