本地主机页面无法正常运行本地主机当前无法处理此请求. HTTP错误500 [英] The localhost page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500

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

问题描述

我知道在看到此页面时出现 500 Internal Server Error (内部服务器错误),

I know that there is some 500 Internal Server Error when is see this page,

本地主机页面无法正常运行本地主机当前无法处理此请求. HTTP错误500

The localhost page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500

我已经在我的php.ini配置文件中设置了变量display_errors: Onerror_reporting : E_ALL,并重新启动了服务器.

I have already set the variables display_errors: On and error_reporting : E_ALL in my php.ini config file and restarted the server.

我仍然看到同一页面,而不是导致内部服务器错误的实际错误消息.为什么?

I still see the same page and not the actual error message that is causing the Internal Server Error. Why?

推荐答案

也许可以解决您的问题,请检查您的文件访问级别

It maybe solve your problem, check your files access level

$ sudo chmod -R 777 /"your files location"

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

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