是否有可能安装PHP 5和MySQL在Apache Tomcat 6.0.32 WITHOUT Apache HTTP服务器? [英] Is it possible to install PHP 5 and MySQL on Apache Tomcat 6.0.32 WITHOUT Apache HTTP Server?

查看:132
本文介绍了是否有可能安装PHP 5和MySQL在Apache Tomcat 6.0.32 WITHOUT Apache HTTP服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有供应动态JSP内容的Web服务器,但我们愿竭诚为一些PHP内容了。结果
是否可以在Apache Tomcat 6.0.32安装PHP 5和MySQL WITHOUT 停止当前内容的服务,卸载Tomcat中,通过安装Apache HTTP服务器的appserv ,的 XAMPP 或类似的东西它安装PHP,MySQL和phpMyAdmin的使用也只是一些简单的点击),而在这之后,配置的的Apache Tomcat连接器

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?

目前我没有配置提到的目标网络服务器的机会,但我在我的本地机器上安装Tomcat的,所以我自己的网络服务器,我可以尝试做任何建议。结果

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.

感谢你在前进!

推荐答案

您可以使用或<一个HREF =htt​​p://blogs.oracle.com/kchung/entry/native_php_in_glassfish_with相对=nofollow> JSR223 + PHP桥读取使用Java /解析/运行PHP文件。

You could use Quercus or JSR223 + PHP-bridge to read/parse/run PHP files using Java.

至于MySQL的,因为仅仅是一个简单的和独立DB服务器,它不要求一个特定的网络服务器。 MySQL的完全不关心你正在运行Web服务器寺。只要安装并配置它通常的方式。

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.

哦,请注意,是Apache Tomcat连接器需要Apache HTTPD服务器。所以,如果你不想安装Apache HTTPD,那么Tomcat连接器是毫无价值的给你。

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.

这篇关于是否有可能安装PHP 5和MySQL在Apache Tomcat 6.0.32 WITHOUT Apache HTTP服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆