Ec (2); install PHP4.3.5RC3. dev (Win32) Apache2.0.52 (ForWin32) and j2sdk1.4 (ForWin32). If not, read the relevant manual. Find in the PHP configuration file php. ini; extensionphp_java.dll, and remove the semicolon; then find: [Java] script ec (2); script
Install PHP4.3.5RC3. dev (Win32) Apache 2.0.52 (For Win32) and j2sdk 1.4 (For Win32). If not, see the relevant manual.
In the PHP configuration file php. ini, find "; extension = php_java.dll" and remove the semicolon;
Find again:
[Java]
; Java. class. path =
; Java. home =
; Java. library =
; Java. library. path =
Changed:
Java. class. path = "JAVA CLASS_PATH; (directory of the class file to be placed) d: java_for_php"
Java. home = "java javahome"
Java. library = "JAVA JAVAHOMEjreinserverjvm. dll"
Java. library. path = "PHP installation directory extensions"
After modification, the php. ini file must be placed in the Windows Installation Directory to restart Apache.
Create a new PhpCallJava. java file in d: java_for_php with the following content: