问:发现涉及到php数据库查询的网页访问特别慢,是不是hosts文件配置有问题,帮我看下hosts的这个配置有没有问题?hosts文件内容如下:
# Copyright (c) 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:
#
# 127.0.0.1 rhino.acme.com # source server
# 127.0.0.1 x.acme.com # x client host
127.0.0.1 localhost
127.0.0.1 www.test.com,发现涉及到php数据库查询的网页访问特别慢,是不是hosts文件配置有问题
答:您好,1、查看到您的服务器cpu带宽等资源正常,服务器运行正常。查看到host没有问题。
2、请核实您网站程序查询数据库语句,如果语句不够优化查询时间就会较长。建议联系程序提供商为您核实网站程序执行。
非常感谢您长期对我司的支持!
问:hosts中,127.0.0.1 www.test.com 这句可以删除吗?
答:您好,可以删除的,这个是一个测试域名,非常感谢您长期对我司的支持!
问:发现涉及到php数据库查询的网页访问特别慢,是不是hosts文件配置有问题,帮我看下hosts的这个配置有没有问题?hosts文件内容如下:
# Copyright (c) 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:
#
# 127.0.0.1 rhino.acme.com # source server
# 127.0.0.1 x.acme.com # x client host
127.0.0.1 localhost
127.0.0.1 www.test.com
答:您好,1、查看到您的服务器cpu带宽等资源正常,服务器运行正常。查看到host没有问题。
2、请核实您网站程序查询数据库语句,如果语句不够优化查询时间就会较长。建议联系程序提供商为您核实网站程序执行。
非常感谢您长期对我司的支持!
问:hosts中,127.0.0.1 www.test.com 这句可以删除吗?
答:您好,可以删除的,这个是一个测试域名,非常感谢您长期对我司的支持!