PHP:使用 WAMP 的内部服务器错误(启动时) [英] PHP:Internal Server Error using WAMP (at startup)

查看:32
本文介绍了PHP:使用 WAMP 的内部服务器错误(启动时)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用 php 时遇到问题.它显示如下错误.它在其他计算机上运行良好,但是当我尝试在另一台计算机上运行它时,它显示如下错误.我想我的 wampserver 2.0 配置有问题.

i had a problem wth php.It display error like below. It work well in other computer, but when i tried to run it in another computer it display error like below. I think i had a problem with my wampserver 2.0 configuration.

内部服务器错误

服务器遇到内部错误或配置错误无法完成您的请求.请联系服务器管理员,webmaster@localhost 并通知他们发生错误,以及您所做的任何可能导致错误.有关此错误的更多信息可在服务器错误日志.

The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.

推荐答案

由于 mod_rewrite.WAMP 默认已注释此选项.

Its due to mod_rewrite. WAMP had commented this option by default.

您需要转到通知区域中的WAMP图标,Apache,httpd.config

You need to go to WAMP icon in notification area, Apache, httpd.config

搜索mod_rewrite,并取消注释.

之后重启WAMP,你就完成了!

After that RESTART WAMP AND YOU ARE DONE!

这篇关于PHP:使用 WAMP 的内部服务器错误(启动时)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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