dear Sukhvinder,
hello!!
I am having problem in integrating php with java.
I have downloaded php_java.dll and php_java.jar from php.net
configured php.ini as under:
extension_dir=d:\php_java\ext\
extension=php_java.dll
[Java]
java.class.path=d:\php_java\ext\php_java.jar
java.home=d:\jdk1.2.2
java.library=d:\jdk1.2.2\jre\bin\classic\jvm.dll
java.library.path=d:\php_java\ext\
I have also checked for php4ts.dll and msvcrtd.dll both of them are present in windows\system directory.
still on testing it is not working and giving me following error:
X-Powered-By: PHP/4.0.3pl1 Content-type: text/html
Fatal error: Cannot instantiate non-existent class: java in D:\ruchi\php\java_php.php on line 2
PHP Warning: Unable to load dynamic library 'd:\php_java\ext\php_java.dll' - A device attached to the system is not functioning. in Unknown on line 0
kindly do help.
thanks in advance
ruchi