加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

php – wamp server 500内部服务器错误

发布时间:2020-12-13 22:20:55 所属栏目:PHP教程 来源:网络整理
导读:我有一个在XAMPP上运行的网站. 我不知道它的网站编写的PHP版本和apache的版本. 我想在Windows上移动它但得到消息00-发生内部服务器错误. 我也做了(wamp- apache- apache modules- rewrite-modules)并重启我的wamp但没有任何反应. 这是我看到的错误: Interna
我有一个在XAMPP上运行的网站.

我不知道它的网站编写的PHP版本和apache的版本.

我想在Windows上移动它但得到消息00-发生内部服务器错误.

我也做了(wamp-> apache-> apache modules-> rewrite-modules)并重启我的wamp但没有任何反应.

这是我看到的错误:

Internal Server Error The server encountered an internal error or
misconfiguration and was unable to complete your request. Please
contact the server administrator at admin@localhost to inform them of
the time this error occurred,and the actions you performed just
before this error. More information about this error may be available
in the server error log.

解决办法是什么!

我会很感激的

解决方法

您应该在httpd.conf文件中激活重写模块.

改变这一行:

#LoadModule rewrite_module modules/mod_rewrite.so

至 :

LoadModule rewrite_module modules/mod_rewrite.so

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读