From: <php...@li...> - 2010-06-14 18:26:50
|
Hi, > i installed php-java bridge to a tomcat server. if i try the examples i > always get "Fatal error: Cannot redeclare java() in > http://localhost:8080/JavaBridge/java/Java.inc on line 81". > I'm running zend server with php 5.2.13 on a debian machine. Any ideas whats > wrong?* Please see our FAQ entry "I get a blank page or some other error!?!" at http://php-java-bridge.sourceforge.net/pjb/FAQ.html : If the command: echo '<?php require_once("http://localhost:8080/JavaBridge/java/Java.inc"); echo java("java.lang.System")->getProperties();?>' | php -n -d allow_url_include=On works in the shell but not within apache, then there's something wrong with your php.ini file. Regards, Jost Boekemeier |