How to update your PHP version in WordPress
作者:98wpeu发布时间:2024-01-16分类:WordPress教程浏览:143
你想更新你的WordPress插件的PHP版本吗?
使用最新的PHP版本可以提高性能和网站速度for your WordPress网站. However,sometimes,your virtual host company may use the PHP version.
在本文中,我们将向您展示如何轻松更新您的WordPress网站的PHP版本。

以下是我们将在本文中讨论的主题的概述:
为什么要更新WordPress的PHP版本?如何在WordPress中检查PHP版本在WordPress节点上更新PHP版本在Bluehost中更改PHP版本在主机中更改PHP版本在节点中更改PHP版本在主机管理器中更改PHP版本在WP工程中更改PHP版本在其他WordPress托管环境中更改PHP版本有关更改PHP版本的常见问题
接下来,你需要稍微向下滚动,然后点击展开“服务器”标签。
This section shows the server information,including the PHP version of your server using.

正如您在上面的屏幕截图中所看到的,我们的演示网站使用的是PHP Version 7.4.21。

This will open higher cPanel仪表板.
In this paper,we discuss the relationship between the mechanism and the relationship between the mechanism.

在下一页,您需要选择您的网站,
Then,select the PHP version you want to use.

Click 'Apply' button to save your changes.
Bluehost现在将开始使用您为您的网站选择的PHP版本。

这将把您带到该特定网站的托管设置。
接下来,导航到高级»PHP配置左侧边栏中的菜单。

Hostinger现在将向您展示可用的和支持的PHP版本供您选择。
选择您要使用的PHP版本,然后单击"更新“按钮保存您的设置。


接下来,您需要转到PHP管理器从左栏开始。
There is no need to be a big deal. You can also change PHP version number by click "edit“图标.

这将弹出一个弹出窗口。
您首先需要在"设置PHP版本"选项下选择“手动更改PHP版本"。

Then,you will be able to choose your PHP version from下拉菜单中.
别忘了点击‘确认’按钮来应用您的更改。

This will start cPanel仪表板,you can在其中管理您的托管帐户的高级设置.
You need to roll down to software part,then click 'MultiPHP Manager'图标.

Next,you need to select your name,then select PHP version.别忘了点击“应用”按钮来保存你的设置。

这将弹出一个弹出窗口,您可以在其中选择降级或升级您的WordPress网站的PHP版本。
选择一个选项,然后点击"更改PHP版本"按钮。

在其他WordPress托管环境中更改PHP版本
Most WordPress托管公司都使用类似的托管仪表板,并进行了一些定制.通常,您会在cPanel仪表板中找到MultiPHP管理器图标。
If you can't find it,then you can contact your WordPress主机提供商,request they change your website PHP version.
常见问题关于更改PHP版本
以下是我们的用户关于更新他们的WordPress网站的PHP版本的一些常见问题。
1. What should do after updating PHP version?
在为您的WordPress网站更新了PHP版本之后,您可能想要确保一切都如预期的那样工作。
我们建议您访问您的网站,查看是否有任何立即值得注意的问题。
在此之后,您可以登录到您的网站的WordPress管理区。
确保您的网站使用最新版本的WordPress,并且您的所有插件和主题都已更新。请参阅我们的初学者指南,了解如何安全地更新WordPress。
最后,我们最终建议对您的WordPress网站进行完整的备份。
2. If a PHP updates to destroy my WordPress website,what should I do?
一个PHP更新不太可能破坏WordPress网站。However,随着免费和收费插件的大量涌现,一个执行插件的代码仍然有可能导致任何常见的WordPress错误。
首先,您必须确保不是插件或主题导致此错误。
要做到这一点,你需要停止使用所有的WordPress插件,并切换到默认的WordPress主题。
If this cannot solve your problem,please contact your Web host support team.你面临的问题很有可能已经在他们的雷达上了,他们将能够帮助你。
If your Web host cannot help you,then you can use the above method to reduce your PHP version.
我们希望本文能帮助您了解如何更新您的WordPress插件的PHP版本。您可能还想看看我们关于如何创建电子邮件时事通讯的指南,或者我们对您网站上最好的实时聊天软件的比较。
更多wp网站技巧请关注我们。
- WordPress教程排行
- 最近发表