错误:内部服务器错误(500)如何解决此问题?

我将成功安装主题和插件。激活插件后, 当我单击导入演示数据按钮时, 出现错误。错误:内部服务器错误(500)如何解决此问题?

注意:我有LAMP Centos 7 Linux Server, 具有1GB RAM, 25GB存储空间


#1


请按照下列步骤来帮助解决内部服务器错误(500)错误:

  1. 首先, 通过FTP进入你的网站
  2. 在根目录上打开名为wp-config.php的文件。
  3. 找到你在其中看到define(‘WP_DEBUG’, false);的行;
  4. 将false更改为true并保存文件

现在, 你刷新页面时遇到错误, 现在应该会看到更多说明性错误消息, 这将有助于进行故障排除。


#2


在/ wp-admin /文件夹中创建一个新文件, 并将其命名为php.ini将它们添加到文件中:

memory_limit = 256M
always_populate_raw_post_data = -1 
max_execution_time = 180
upload_max_filesize = 32M
post_max_size = 32M

保存。这对我有用:)

来源:

https://www.srcmini02.com/65052.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_41125.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?