如何处理GCP WordPress错误“此页面无法正常运行,example.com当前无法处理此请求. HTTP错误500 [英] How to deal with GCP WordPress error "This page isn’t working example.com is currently unable to handle this request. HTTP ERROR 500

查看:373
本文介绍了如何处理GCP WordPress错误“此页面无法正常运行,example.com当前无法处理此请求. HTTP错误500的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

起初,该网站工作正常,但我安装了"WordPress全部集成迁移插件",并将我的电影wordpress网站迁移到了托管在"Google Cloud Platform"上的域. 到这里为止,一切正常,但是单击某个帖子后,它重定向到一个提示页面,提示找不到页面". 我开始在Wordpress Dashboard的"WordPress编辑器"选项中探索不同的事物,但是没有任何效果,一天的工作结束之后,我就开始工作了. 发生的错误如下: 该页面无法正常运行watchlatestmovie.com目前无法处理此请求. HTTP错误500如何摆脱它?

At first the site was working pity fine i installed "WordPress all in one migration Plugin" and migrated my movies wordpress website to the domain am hosting at "Google Cloud Platform". Till here every thing was working fine, but when a post was clicked it redirected to an empety page saying "The page not found". I started exploring different things within "WordPress Edittor" option from Wordpress Dashboard but nothing worked, and after a day site was completely down. The error am having is as follow: This page isn’t working watchlatestmovie.com is currently unable to handle this request. HTTP ERROR 500 How to get out of it?

推荐答案

我得到了解决方案,它是apache2.conf中的文件许可权错误 解决方法是:在命令行中执行以下命令

I got the solution, it was a file permission error in apache2.conf Here is the solution: execute the following command in command line

sudo vi /etc/apache2/apache2.conf

  1. 按插入"进入编辑模式
  2. 向下滚动
  3. 将/var/www/权限从无"更改为全部"
  4. 按"Esc"键
  5. 写入:qw"以退出文件.
  6. 现在使用以下命令重新启动apache2服务器

  1. Press "insert" to get into editing mode
  2. Scroll down
  3. Change /var/www/ Permissions from "None" to "All"
  4. Press "Esc"
  5. write ":qw" to exit the file.
  6. Now restart the apache2 server with following command

sudo service apache2 restart

这篇关于如何处理GCP WordPress错误“此页面无法正常运行,example.com当前无法处理此请求. HTTP错误500的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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