Home  >  Article  >  php教程  >  Win8.1 + Wamp 访问本地站点慢 的解决办法

Win8.1 + Wamp 访问本地站点慢 的解决办法

WBOY
WBOYOriginal
2016-06-06 20:11:45823browse

自从安装了64位的windows 8.1之后,电脑运行速度变快了,可是重新下载安装64位的WAMP,访问本地的WEB站点确是很慢,根本不像是在本地访问,经过在WAMP论坛上搜索,终于找到了解决办法,主要原因是Mysql拖慢了速度。 解决办法是: (1)将程序中连接数据代码的l

自从安装了64位的windows 8.1之后,电脑运行速度变快了,可是重新下载安装64位的WAMP,访问本地的WEB站点确是很慢,根本不像是在本地访问,经过在WAMP论坛上搜索,终于找到了解决办法,主要原因是Mysql拖慢了速度。

解决办法是:
(1)将程序中连接数据代码的localhost修改为127.0.0.1。
(2)修改 httpd.conf 文件,Listen 80修改为:Listen 0.0.0.0:80。

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