今天手賤殺毒選擇了自動處理,結果把個人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