Home  >  Article  >  Backend Development  >  请教安装Apache Tomcat 6.0后,如何装php-5.3.6-Win32-VC9-x86.msi

请教安装Apache Tomcat 6.0后,如何装php-5.3.6-Win32-VC9-x86.msi

WBOY
WBOYOriginal
2016-06-13 09:59:36958browse

请问安装Apache Tomcat 6.0后,怎么装php-5.3.6-Win32-VC9-x86.msi
我在安装的时候选择web server为apache 2.2.x module,安装到最后的时候会报一个错误,Error trying access httpd.conf file.You will need to manually configure the web server.

我看到好多网上安装php教程都说appche的安装目录的conf文件夹下有httpd.conf文件,可是我的为什么没有呢??!(服务器是没有问题的,可以各种跑)

还有网上说php安装目录有PHP.INI-DIST,php.ini-optimized 等等文件,我的也没有,只有一个php.ini

有大侠遇到过相同的情况吗?谢谢了

------解决方案--------------------
注意 Tomcat 是 Apache 的一个项目. Apache Web(HTTP) Server 是 Apache 的另一个项目.

你安装的是 Tomcat ,而不是 Apache web(HTTP) server 所以, 你找不到也是很正常的.

Apache Web(HTTP) Server 项目的首页是 : http://httpd.apache.org/
而 Tomcat 项目的首页是 : http://tomcat.apache.org/


------解决方案--------------------
Tomcat is java application server (for .jsp, servlet). It is not a HTTP server. To use PHP, You must install a HTTP Server.

Or you can install some bundled packages, such as XAMPP, which will install everything for you.
http://www.apachefriends.org/en/xampp-windows.html
------解决方案--------------------
是不是先要启动Apache服务 直接 安装就可以?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn