本地主机http 500内部服务器错误 [英] localhost http 500 internal server error

查看:134
本文介绍了本地主机http 500内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时,每当我尝试访问它时,我使用的localhost都会给我"http 500错误".但是,重新启动计算机解决了该问题,直到今天我仍可以访问我的文件.今天,即使我对代码没有做任何更改(与昨天相同),即使我重新启动PC也无法访问本地主机和phpmyadmin. 我该如何解决?什么地方出了错?我不认为问题出在我的代码结构上,因为如果是这样的话,我昨天就无法访问localhost(我什么都没改变)

Sometimes, the localhost that i am using gave me that "http 500 error" whenever i try to access it. But, restarting the computer solved that problem and I could access my files, until today. Today, even though i have changed nothing with my codes(same as yesterday), I cannot access my localhost and phpmyadmin even if i restart the pc. How can i solve it? what went wrong? I dont think that the problem is about my code structure because if it was I could not access localhost yesterday(I changed nothing)

推荐答案

检查错误日志,它应该具有对该错误的更详细描述.如果您使用的是Apache,则可能在名为log

Check the error log, it should have a more detailed description of the error. If you're using Apache look for a file named error.log probably in a folder called log

这篇关于本地主机http 500内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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