👋🏼Welcome to my WP-Host blog where I am excited to share my knowledge and expertise on WordPress hosting and website construction tutorials with you. Let’s connect and learn from each other! You can reach me at info@yrshare.com.

(如果你会中文,可以点击微信图标与我联系。)

扫一扫加我

注:因个人英文水平有限,所以暂时只能为懂中文的朋友提供wordpress建站服务

微信:18200592859 或 yrwordpress

Siteground Officially Increases WordPress Default PHP Memory Limit

Siteground Officially Increases WordPress Default PHP Memory Limit. If you use wordpress to make a website, you will definitely find that some plug-ins or themes have a requirement for PHP memory limit, most of which require 256 M or above, especially some wordpress themes, when importing demo data, if the PHP memory is too small, it will import fail. Fortunately, this problem no longer exists on Site Ground hosting, because Site Ground officially increased the PHP memory limit to 768 M. Even the cheapest Start Up package can meet almost all wordpress themes and plugins.

The following is the official introduction of SiteGround. They have fully adjusted the PHP memory limit of the SiteGround host, so that all customers who purchase WordPress hosts can easily install and use various wordpress plugins and wordpress themes:

At SiteGround we always strive to go the extra mile for our clients and make website management on our platform as easy and hassle-free as possible. This is especially true for WordPress websites, us being one of the first web hosts to start offering managed WordPress services to spare you tons of manual work and hassle. The extra effort we put into it goes steadily throughout the years, complemented by a strong involvement from our team in the WordPress dev and hosting projects. 

As of recently, we have been receiving a growing amount of requests from clients for an increase of the default WP memory limits – a request reinforced by a new discussion within the WordPress community about raising the default memory limit of the software, since the current values are old and no longer relevant to the present day. Being the resource efficiency geeks that we are, we decided to increase the default values at a platform level and offer a global solution for all WordPress users on our hosting.

Why is an update of the WP memory limits needed?

The WordPress ecosystem, including WordPress themes, plugins, and the software itself is constantly evolving and growing and with that, the need for more resources. WordPress site builders, online store management, e-learning management, etc. get more complex and heavier with time, and require more resources to operate properly. If you have a low memory setting, this can lead to issues with saving your page (as WordPress does not have enough Memory to save the page content to the database). This can also be a cause for critical error messages, or memory-exhausted errors on your WordPress site.

The current WordPress default memory limits are 40 МВ for WP and 64 for WPMU – while many new plugins and themes require a minimum of 128 MB of memory to run properly – and most of them recommend 256 MB, if possible. We’ve always made sure to provide plenty of hosting resources for our clients but unfortunately, the way your application default settings are set to work plays a big role into how efficiently you are using the resources we provide. For example, the current PHP Memory Limit on SiteGround servers is 768 MB, so it definitely allows a higher WP Memory limit.

Currently, if you’re using a heavier plugin, and need a higher WordPress memory limit, you have to specifically contact your hosting provider and request it, or you have to do it manually yourself. But it’s a hassle, even if you know what you’re doing. 
That’s why we decided to override the default WordPress memory settings for SiteGround clients, increasing them to 256M from the default 40 МВ for WP and 64 for WPMU. Here is how we went about it:

All new WordPress Installations on SiteGround Now Come with the Higher Memory Limit Out of the box

We started out by including a new custom config file which overrides and automatically updates the default memory limit for all our new WordPress installations through SiteGround Site Tools. That way all new WordPress instances on our servers get a head start straight from the moment of installation. Same goes for all new WordPress transfers from other hosting companies to our servers, performed with our free WordPress Auto-migrator plugin.

All Existing WP instances will be gradually updated to the new default ones

The situation with our existing WordPress clients was a bit more complicated to tackle, since we needed to be mindful that some of you may have already set a custom WordPress memory limit on your applications. So our solution will not override any custom WordPress memory limit you might have set yourself.

Since we always test, double test, and then test some more everything before going full-scale, we have decided to start gradually updating only the default WordPress memory limit server by server to monitor and perform health checks for each. 

!NB If you have installed WordPress manually in your account, and have not added it to your Site Tools, then our system has no way of knowing about you using it, and your default WordPress limit will not be updated. You will need to do that manually yourself, if needed. In any case, adding your WordPress applications is quite easy. You can do that with a few clicks from Site Tools > WordPress > Install & Manage > Add Existing Site.

That’s why we highly recommend you use our WordPress installer whenever launching new WordPress installations, or WordPress Auto-migrator when migrating an existing WordPress site to us. That way you can take full advantage of our best-in-class WordPress managed hosting services, and multiple improvements that we keep on adding.

How can you check your WordPress Memory limit?

To check the current WP memory limit of your installation you can access your WP admin backend and go to Tools –> Site Health. Then select “Info” and expand the “WordPress Constants” list. Look for WP_MEMORY_LIMIT – this is the memory limit for the website you want to check.

以下是SiteGround官方的介绍,他们全面调整了SiteGround主机的PHP内存限制,让所有购买Wordpress主机的客户都可以简单方便的安装使用各种wordpress插件和wordpress主题:

在 SiteGround,我们始终努力为我们的客户多走一英里,让我们平台上的网站管理尽可能轻松无忧。对于 Word Press 网站来说尤其如此,我们是最早开始提供托管 Word Press 服务的网络主机之一,可以为您省去大量的手动工作和麻烦。多年来,我们为此付出的额外努力稳步推进,同时我们的团队积极参与 Word Press 开发和托管项目。

截至最近,我们收到了越来越多的客户要求增加默认WP内存限制的请求,Word Press社区内关于提高软件默认内存限制的新讨论加强了这一请求,因为当前值已经过时,与当前不再相关。作为资源效率极客,我们决定在平台级别增加默认值,并为我们主机上的所有Word Press用户提供全球解决方案。

为什么需要更新 WP 内存限制?

包括 WordPress 主题、插件和软件本身在内的 WordPress 生态系统在不断发展和壮大,随之而来的是对更多资源的需求。WordPress网站建设者、在线商店管理、电子学习管理等随着时间的推移变得越来越复杂和繁重,需要更多的资源才能正常运行。如果您的内存设置较低,这可能会导致保存页面时出现问题(因为 Word Press 没有足够的内存来将页面内容保存到数据库中)。这也可能是严重错误消息或 Word Press 站点上的内存耗尽错误的原因。

当前 WordPress 的默认内存限制为 WP 为 40 МВ,WPMU 为 64 — 而许多新插件和主题需要至少 128 MB 的内存才能正常运行 — 如果可能,它们中的大多数建议使用 256 MB。我们一直确保为我们的客户提供大量的托管资源,但不幸的是,您的应用程序默认设置的工作方式对您使用我们提供的资源的效率起着重要作用。例如,当前 SiteGround 服务器上的 PHP 内存限制为 768 MB,因此它肯定允许更高的 WP 内存限制。

目前,如果您使用的是更重的插件,并且需要更高的 Word Press 内存限制,您必须专门联系您的托管服务提供商并提出要求,或者您必须自己手动完成。但这很麻烦,即使您知道自己在做什么。

这就是为什么我们决定覆盖 Site Ground 客户端的默认 Word Press 内存设置,将它们从 WP 的默认 40 МВ 和 WPMU 的默认 64 增加到 256 M。以下是我们的处理方式:

所有新的 WordPress SiteGround 主机现在都带有开箱即用的更高内存限制

我们首先包含一个新的自定义配置文件,该文件通过 SiteGround Site Tools 覆盖并自动更新我们所有新 Word Press 安装的默认内存限制。这样,我们服务器上的所有新 Word Press 实例从安装那一刻起就可以直接启动。从其他托管公司到我们服务器的所有新 WordPress 传输也是如此。

所有现有的 WP 实例将逐渐更新为新的默认实例

我们现有的 WordPress 客户端的情况处理起来有点复杂,因为我们需要注意你们中的一些人可能已经在您的应用程序上设置了自定义 WordPress 内存限制。因此,我们的解决方案不会覆盖您自己设置的任何自定义 Word Press 内存限制。

由于我们总是测试,双重测试,然后在全面测试之前测试更多的东西,我们决定开始逐步更新默认的 WordPress 内存限制服务器,以监控和执行每个服务器的健康检查。

如果您在您的帐户中手动安装了 WordPress,并且没有将其添加到您的站点工具,那么我们的系统无法知道您在使用它,并且您的默认 WordPress 限制将不会更新。如果需要,您将需要自己手动执行此操作。在任何情况下,添加您的 WordPress 应用程序都非常容易。您只需点击几下站点工具 > Word Press > 安装和管理 > 添加现有站点即可。

这就是为什么我们强烈建议您在启动新的 WordPress 安装时使用我们的 Word Press 安装程序,或者在将现有 WordPress 站点迁移到我们时使用 WordPress Auto-migrator。这样您就可以充分利用我们一流的 WordPress 托管服务以及我们不断添加的多项改进。

你如何检查你的 WordPress PHP内存限制?

要检查安装的当前 WP 内存限制,您可以访问 WP 管理后台并转到 Tools –> Site Health。然后选择“信息”并展开“WordPress Constants”列表。查找 WP MEMORY LIMIT – 这是您要检查的网站的内存限制。

WordPress Hosting / 悦然wordpress建站

WordPress Hosting / 悦然wordpress建站

【WordPress Hosting / 悦然wordpress建站】I am a WordPress hobby from China, and I like to communicate with friends from all over the world to learn WordPress website building and maintenance related knowledge.

文章: 40