Php XAMPP响应太长

Php XAMPP响应太长,php,xampp,localhost,Php,Xampp,Localhost,我有php文件,我尝试使用localhost运行它,而localhost运行正常。然后,我关闭了我的笔记本电脑,当我试图再次运行我的php文件时,localhost花费了很长时间,实际上,我没有编辑我的php文件中的任何内容。我使用Windows7 我已尝试编辑我的 `httpd.conf 我改变 ServerName Localhost至ServerName 127.0.0.1:80 我也编辑过 my.ini 我没有注释 bind address=“127.0.0.1” 我还编辑了 confi

我有
php
文件,我尝试使用localhost运行它,而
localhost
运行正常。然后,我关闭了我的笔记本电脑,当我试图再次运行我的php文件时,localhost花费了很长时间,实际上,我没有编辑我的php文件中的任何内容。我使用Windows7

我已尝试编辑我的

`httpd.conf

我改变

ServerName Localhost
ServerName 127.0.0.1:80

我也编辑过

my.ini

我没有注释

bind address=“127.0.0.1”

我还编辑了

config.inc.php

我改变

$cfg['Servers'][$i]['host'] = 'localhost' to $cfg['Servers'][$i]['host'] = '127.0.0.1'

但是,反应仍然需要很长时间。加载时间太长。我能做些什么来解决那个问题?有人知道吗?这对我有很大帮助。感谢您

在chrome中打开开发者工具,单击网络选项卡,然后将鼠标悬停在您提出的请求上。你大部分时间花在哪里?初始连接、TTFB或内容下载?