今天手贱杀毒选择了自动处理,结果把个人mysql的一个文件被360当作木马处理了!!致使我WAMPSERVER没法启动,mysql数据库也没法链接,你妹。重装mysql后,WAMPSERVER 仍是没法启动,重装,结果访问localhost出现 500 internal error。你妹,搞了半天说句实话,baidu不给力,google虽然是好是坏,可是解决问题仍是要靠google。
在一个国外的论坛上发现相似问题。1中方法是删除
.htaccess文件,可是删除后其余相似localhost/post/admin回报404错误。
第二种也是比较好的一种,应该是我之前装WAMPSERVER的时候设置过不过忘了。就是在Apache server的httpd.conf文件中
找
到
LoadModule rewrite_module modules/mod_rewrite.so
去掉前面的(#),重启服务,就能够工做了。
英文原文
I found a solution for WAMP users. They unusually need to enable the mod_rewrite for their Apache server. In the httpd.conf find "LoadModule rewrite_module modules/mod_rewrite.so" and remove the pound (#) from the beginning of the site. Save the file and restart WAMP. Add the .htaccess file changes for the WordPress network. Refresh and it should work. mysql
From what I read, some need to change
AllowOverride none
in the httpd.conf to
AllowOverride all
as well. I hope this helps.
帖子连接:http://wordpress.org/support/topic/how-to-solve-wamp-localhost-500-internal-error