Hello,
I have to connect an existing PHP web-application with a new JSP-Part =
but fail to get the MySQL connection within the existing PHP application =
when I use the PHP-Java-Bridge.
The development is under WinXP, the production environment is linux.
a.. php-java-bridge-4.1.0a=20
b.. apache 2.0.55=20
c.. tomcat 5.5.2=20
d.. MySQL 5.0.18=20
The installation of JavaBridge as described by ACET was no problem.
a.. downloading the war file=20
b.. unpacking the war file to get JavaBridge.jar and php-servlet.jar=20
c.. copying the JavaBridge.jar and php-servlet.jar, located under =
WEB-INF/lib to $CATALINA_HOME/shared/lib=20
d.. copying JavaBridge.war to $CATALINA_HOME/webapps and startup =
Tomcat
Then http://localhost:8080/JavaBridge/ showed me the samples to execute. =
Everything works so far, even the former PHP-application can be called =
by localhost:8080/... =20
Except that that the php-info example and the existing PHP web =
application which heavily depend on using MySQL are signaling that the =
MySQL extention is not included in the compilation and therefore no =
MySQL statements are processed.
I thought an new line like
extension=3Dphp_mysql.dll (and something similar for the =
linux counterpart)
in=20
$CATALINA_HOME/webapps/myapp/WEB-INF/cgi/php.ini
would do the job but that try did not change anything.
How can I use the formerly loaded extentions like MySQL with =
PHP-Java-Bridge?
Thanks in advance
Joachim
|