Hi All,
Description:
I am using the following softwares installed in my application.
1. php-5.3.1-Win32-VC6-x86.ZIP
2. apache_2.2.14-win32-x86-no_ssl.msi
I have downloaded the file "JavaBridgeTemplate5541.war" from "http://sourceforge.net/projects/php-java-bridge/files/Binary%20package/" site and place the JavaBridge.jar from "JavaBridgeTemplate5541.war" into "c:/php/ext". The file "php_java.dll" not found in the "JavaBridgeTemplate5541.war" to place in the "c:/php/ext".
When I tried to restart and run the Apache http Server I unable to see the "Java" option in the "php configuration options" with the following syntax: <?php phpinfo(); ?> when run on the browser with the URL "http://localhost/".
Reproduced Code:
Configured the file "php.ini" with the foloowing lines:
[java]
java.java_home = "C:/Program Files/Java/jdk1.5.0_13"
java.java = "C:/Program Files/Java/jdk1.5.0_13/bin/javaw.exe"
java.class.path = "C:/php/ext/JavaBridge.jar"
java.library.path = "C:/php/ext"
java.log_level=2
Expected Result:
I should see the "Java" option when I run the
"index.php" file.
"index.php":
<?php
phpinfo();
?>
Result should be displayed with the phpinfo() in the browser:
[Java]
Java Enabled: true;
Java Bridge: 5.5.4
Java status : running
Actual Result:
This is the following error I can see in the "error log" file of the apache http server.
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/php/ext\\php_java.dll' - The specified module could not be found.\r\n in Unknown on line 0
I would be thanks if I got solution for this problem.
Thanks,
Venkat
|