XAMPP 和 Wordpress - 加载缓慢 [英] XAMPP and Wordpress - Slow Loading

查看:71
本文介绍了XAMPP 和 Wordpress - 加载缓慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近使用 XAMPP 将 WordPress 安装到本地主机上来托管它.出于某种奇怪的原因,从 WordPress 网站(包括管理面板)访问任何页面都非常慢.

I've recently installed WordPress onto localhost using XAMPP to host it. For some bizarre reason, accessing any page from the WordPress site (including the admin panel) is very slow.

我尝试更改主机文件以显示:

I've tried changing the host file to show:

127.0.0.1 127.0.0.1
127.0.0.1 localhost

但它并没有产生丝毫差异.我的机器规格相当高,所以这似乎不是问题.我目前正在下载新的浏览器(目前使用 IE) - 虽然我怀疑这会帮助解决问题.

But it hasn't made the slightest difference. My machine specs are fairly high, so this doesn't seem to be an issue. I'm currently in the process of downloading a new browser (currently using IE) - although i doubt this'll help the issue.

推荐答案

我一直在网上消化这个问题的解决方案,看来这取决于您的环境;就我而言,在我使用 Worklight 安装 Eclipse 之前,它一直运行良好.

I've been digesting the web to find a solution for that, and it seems that it depends on your environment; in my case, it was working just fine until I installed Eclipse with Worklight.

无论如何,我只是想出了如何克服非常缓慢的响应时间.

Anyway, I just figured out how to overcome the very slow response time.

如果 Apache 和 MySQL 没有像这样安装为服务(XAMPP 控制面板中模块名称旁边没有绿色复选标记)......请按照以下步骤操作:

If Apache and MySQL are not installed as a service (no green checkmark beside the module name in XAMPP control panel) like this... ...follow these steps to do so:

  1. 停止 Apache 和 MySQL 并关闭 XAMPP
  2. 转到 XAMPP 位置(默认为 c:/xampp)
  3. 右键单击 xampp_start.exe >属性">兼容性"选项卡;勾选以管理员身份运行此程序"
  4. 使用 xampp_control.exe 重复上述步骤(现在不要运行 XAMPP)
  5. 现在您可以启动 mysql_start.bat 和 apache_start.bat
  6. 现在打开 XAMPP(您将收到有关以管理员身份启动程序的 UAC 警报)
  7. 您会在 Apache 和 MySQL 模块旁边找到一个红叉标记,只需单击每个模块旁边的红叉标记并同意安装为服务(如果模块正在运行,您必须先停止它们)

经过很长时间的网络搜索而完全没有运气,这对我来说真的很有效.我希望它有所帮助.

This really works for me after a very long time-consuming web search with no luck at all. I hope it helps.

这篇关于XAMPP 和 Wordpress - 加载缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆