PHP本地环境搭配――WAMP不能启动, 一直处于红色图标的解决方法

WBOY
Release: 2016-06-13 12:34:11
Original
1140 people have browsed it

PHP本地环境搭配――WAMP不能启动, 一直处于红色图标的解决办法

WAMP不能启动, 一直处于红色图标(正常启动为绿色吧)

考虑是端口的问题,我找到wamp文件夹中的wamp\bin\apache\apache2.2.22\conf路径下的httpd.conf文件,将:

#Listen 12.34.56.78:80

Listen 80

Listen 80改成Listen 8088(因为tomcat默认是8080,不想以后冲突),然后再启动wampapache发现可以了,wamp显示为绿色,OK,搞定!



站点测试的时候,会出现404错误:解决办法,在网址里面加上端口号,比如:http://localhost:8088/sc2000

我是win7系统,修改:C:\Windows\System32\drivers\etc\hosts 文件,添加了:127.0.0.1    localhost:8088。这样就可以浏览了!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template