2步快速解决Internal Server Error500问题

WordPress安装到主机之后,登录WordPress后台,有时会出现下面Internal Server Error500的问题:

Internal Server Error 内部服务器500错误文章源自MAY的SEO博客-https://may90.com/building/error500.html

May使用的是万网的Lunix虚拟主机,主机的php默认版本是5.2,如图:文章源自MAY的SEO博客-https://may90.com/building/error500.html

主机PHP5.2文章源自MAY的SEO博客-https://may90.com/building/error500.html

而May使用的是最新wordPress 4.9.7版本:文章源自MAY的SEO博客-https://may90.com/building/error500.html

wordPress 4.9.7版本文章源自MAY的SEO博客-https://may90.com/building/error500.html

为什么会出现Internal Server Error500错误,是因为主机的php版本5.2,不支持WordPress 4.9.7中某些变量。于是便出现了Internal Server Error500错误。文章源自MAY的SEO博客-https://may90.com/building/error500.html

解决的办法很简单,将主机的php版本修改为5.3或更高, 然后查看WordPress数据库是都能打开,如果Internal Server Error500错误还存在,则需要修改数据库加密模式:文章源自MAY的SEO博客-https://may90.com/building/error500.html

Step 1: 将主机的PHP版本修改为5.3

我的主机 - 高级环境设置 - PHP版本设置 - 修改为PHP5.3 - 保存设置文章源自MAY的SEO博客-https://may90.com/building/error500.html

PHP版本修改文章源自MAY的SEO博客-https://may90.com/building/error500.html

Step 2: 将我的主机加密模式修改成41位

我的主机 - 数据库信息 - 重置密码 - 加密模式修改为41位
PHP41位重置文章源自MAY的SEO博客-https://may90.com/building/error500.html

重置密码文章源自MAY的SEO博客-https://may90.com/building/error500.html

2步快速解决Internal Server Error500问题,你get到了吗?如果有什么疑问,欢迎在下方留言哦。文章源自MAY的SEO博客-https://may90.com/building/error500.html

 文章源自MAY的SEO博客-https://may90.com/building/error500.html

 文章源自MAY的SEO博客-https://may90.com/building/error500.html 文章源自MAY的SEO博客-https://may90.com/building/error500.html

  • 我的微信
  • 扫一扫微信,添加好友
  • weinxin
  • 我的微信公众号
  • 关注公众号,了解最新动态
  • weinxin
  • 本文由 发表于 2018年8月2日
  • 转载请务必保留本文链接:https://may90.com/building/error500.html
HTTP状态码完整清单 SEO技术

HTTP状态码完整清单

Internet上有两个主要角色,即客户端和服务器。当您打开笔记本电脑并单击浏览器(例如Google Chrome)时,您正在通过Web客户端访问Internet。您正在请求发送到网络服务器以访问页面...
评论  0  访客  0

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定