There’s a webserver which serves dynamic JSP contents, but we would like to serve some PHP contents too.
Is it possible to install PHP 5 and MySQL on Apache Tomcat 6.0.32 WITHOUT stopping the service of current contents, uninstalling Tomcat, installing the Apache HTTP Server (via AppServ, XAMPP or something similar which installs PHP, MySQL and phpMyAdmin too with just some simple clicks), and after that, configuring the Apache Tomcat Connector?
Currently I don’t have the opportunity to configure the mentioned “target” webserver, but I installed Tomcat on my local machine, so with my own webserver I can try doing anything suggested.
I know there are lots of questions related to the topic even on stackoverflow, but none of them answered my question.
Thank you in advance!
You could use Quercus or JSR223 + PHP-bridge to read/parse/run PHP files using Java.
As to MySQL, as being just a simple and standalone DB server, it doesn’t require a specific webserver. MySQL totally doesn’t care wat webserver you’re running. Just install and configure it the usual way.
Oh, please note that the Apache Tomcat Connector requires Apache HTTPD server. So if you don’t want to install Apache HTTPD, then the Tomcat Connector is worthless to you.