localhost http 500 internal server error

ぃ、小莉子 提交于 2019-12-04 23:16:18

问题


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)


回答1:


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




回答2:


Actually I am also Have the same issue with the localhost so I eneble the rewrite mode of my wamp server and solve this issue.

For Localhost :

Apache -> Apache Modules -> rewrite module

Enable it and restart the services.



来源:https://stackoverflow.com/questions/9087291/localhost-http-500-internal-server-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!