php环境,我装的是wamp,可以用http://127.0.0.1访问,但不可以用http:/localhost
php环境,我装的是wamp(windows+apache+mysql+php),可以用127.0.1访问,但不可以用localhost,求大侠帮忙这是我的hosts文件...
php环境,我装的是wamp(windows+apache+mysql+php),可以用127.0.1访问,但不可以用localhost,求大侠帮忙
这是我的hosts 文件,
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost 展开
这是我的hosts 文件,
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost 展开
4个回答
展开全部
安装好后应该都是可以的,但是你不要修改它的配置文件,直接默认用laocalhost就行了
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
我也都想知道是怎么回事
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
去下个vertrigo sevr 集成环境 华西信息安全网
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询