如何在wamp安装后使本地服务器工作?

时间:2022-05-13 11:23:59

I have just installed wamp and I copied all the projects inside www folder but when I browse http://localhost/project its displays error like this.

我刚刚安装了wamp并且我复制了www文件夹中的所有项目但是当我浏览http:// localhost / project时它会显示如下错误。

Internal Server Error

内部服务器错误

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.

请联系服务器管理员,webmaster @ localhost并告知他们错误发生的时间,以及可能导致错误的任何操作。

More information about this error may be available in the server error log.

服务器错误日志中可能提供了有关此错误的更多信息。

I also changed the php setting and extensions but not working. So can anyone suggest for me.

我也改变了php设置和扩展但没有工作。所以有人可以建议我。

Thanks

2 个解决方案

#1


There can be a large number of possibilities for this error. for now, check to see if your project is using any php module that is not registered in php.ini. also check ur php.ini and httpd.conf (or whatever your apache config file is) )to see if all modules are configured correctly

此错误可能存在大量可能性。现在,检查您的项目是否正在使用未在php.ini中注册的任何php模块。还检查你的php.ini和httpd.conf(或你的apache配置文件是什么)),看看是否所有模块都配置正确

#2


I made it working. As I am using htaccss and I forgot to enable rewrite_module so it did not work. Now it works perfectly. Thanks to all of you for your answers that made me find out the solution. :)

我让它发挥作用。当我使用htaccss时,我忘了启用rewrite_module,所以它不起作用。现在它完美无缺。感谢大家的回答让我找到了解决方案。 :)

#1


There can be a large number of possibilities for this error. for now, check to see if your project is using any php module that is not registered in php.ini. also check ur php.ini and httpd.conf (or whatever your apache config file is) )to see if all modules are configured correctly

此错误可能存在大量可能性。现在,检查您的项目是否正在使用未在php.ini中注册的任何php模块。还检查你的php.ini和httpd.conf(或你的apache配置文件是什么)),看看是否所有模块都配置正确

#2


I made it working. As I am using htaccss and I forgot to enable rewrite_module so it did not work. Now it works perfectly. Thanks to all of you for your answers that made me find out the solution. :)

我让它发挥作用。当我使用htaccss时,我忘了启用rewrite_module,所以它不起作用。现在它完美无缺。感谢大家的回答让我找到了解决方案。 :)