Joomla-等待localhost超过5分钟,除非我断开WiFi

时间:2018-04-20 01:30:41

标签: apache xampp

我下载了我的电子商务Joomla,以便在localhost上工作(xampp,开始加载坐点需要5分钟以上

但是当意外关闭WiFi或我断开WiFi连接时,网站正常加载,我搜索并尝试了几秒钟 取消注释并将httpd.confg中的localhost更改为127.0.0.1

ServerName 127.0.0.1:80

并在C:\ Windows \ System32 \ drivers \ etc

中取消注释

127.0.0.1 localhost

并尝试添加一些行

::1 something.local
::1 something2.local
::1 something3.local
::1 localhost
fe80::1%lo0 localhost

并将我的站点configuration.php文件中的db host更改为127.0.0.1而不是localhost

$host = '127.0.0.1';

并制作

public $sef = '0';
public $sef_rewrite = '0';

在my.ini文件中,我取消注释bind-address =“127.0.0.1”为

绑定地址= “127.0.0.1”  #bind-address = :: 1#for ipv6

仍然无法加载网站,除非我断开WiFi,当我再次连接时,我可以刷新网站,我正常加载几分钟后网站无法加载,我不得不再次连接WiFi

0 个答案:

没有答案