From: <php...@li...> - 2006-04-10 20:39:31
|
Hi, > Call to undefined function java_get_server_name() If you get the above message it is likely that the php_java.dll is there but doesn't export the java_get_server_name() function. Which operating system do you use? The test.php checks for java_get_server_name() to make sure that our php_java.dll is used. For windows there are several outdated php_java.dll files floating around (see http://pecl4win.php.net/list.php/5_1). They are unmaintained and don't work anymore since php >=5.0. > I have followed the install instructions pretty > close and I can't get past > the above error. Can someone help with this? I think the easiest way to test this is to install the web application, which contains all needed components: * Click on: http://apache.dns4.com/tomcat/tomcat-5/v5.5.16/bin/apache-tomcat-5.5.16.exe * Download the J2EE binary and copy JavaBridge.war to the tomcat webapps directory * Wait 15 seconds and visit http://localhost:8080/JavaBridge After that please compare the file size of your php_java.dll and the java-x86-windows.dll from the webapps\JavaBridge\WEB-INF\cgi folder. > I am configuring this for Apache2 and PHP5. I think it should be sufficient to copy the java-x86-windows.dll (or the php5java-x86-windows.dll, if you use php 5.0.x) and the JavaBridge.jar from the webapps\JavaBridge\WEB-INF to your extension_dir and to change your php.ini file from extension=php_java.dll to extension=java-x86-windows.dll I hope it helps. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |