From: <php...@li...> - 2013-06-14 13:15:55
|
Dear PHP-Java bridge users, Am trying to get Tomcat 6 to run Tiny Tiny RSS (http://tt-rss.org), which requires PHP. Having installed and configured everything, when I visit the page, an exception is thrown, complaining that a certain PHP interface was not found: javax.servlet.ServletException: java.lang.RuntimeException: PHP Fatal error: Interface 'IDb' not found in .../webapps/tt-rss/classes/db.php on line 2 php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:452) php.java.servlet.CGIServlet.doGet(CGIServlet.java:474) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause: java.lang.RuntimeException: PHP Fatal error: Interface 'IDb' not found in .../webapps/tt-rss/classes/db.php on line 2 php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServlet.java:503) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doExecute(FastCGIServlet.java:402) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.execute(FastCGIServlet.java:410) php.java.servlet.CGIServlet.handle(CGIServlet.java:401) php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:427) php.java.servlet.CGIServlet.doGet(CGIServlet.java:474) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) The interface in question is located in a separate file, idb.php, to be found in the same directory as db.php. The first few lines of db.php are, <?php class Db implements IDb { Not having ever written any PHP myself, I'd really appreciated some help. Thanks, Rob |