Hi,

i am also facing same kind of problem. if i run java code then it gives this error.

"Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenienc". please suggest me what can i do.

i have wamp5 with following configuration:

Apache version : Apache/2.0.59 (Win32)
PHP version : 5.1.6
MySQL version : 5.0.24a-community-nt
JAVA version : jdk1.5.0_01

I already added this at the bottom of the page:

java.java = "C:\Java\jdk1.5.0_01\bin\javaw.exe"
java.log_level = 3

java.library.path = "C:\wamp\php\ext\"
java.class.path = "C:\wamp\php\ext\php_java.jar; C:\Program Files\Java\jdk1.5.0_01;C:\wamp\php\ext\JavaBridge.jar"
java.home = "C:\Program Files\Java\jdk1.5.0_01\bin"
java.library = "C:\Program Files\Java\jdk1.5.0_01\jre\bin\server\jvm.dll"

and extension=php_java.dll.

Thanks

    Write a Reply...