500内部服务器错误与Wamp和Magento [英] 500 Internal Server Error with Wamp and Magento

查看:59
本文介绍了500内部服务器错误与Wamp和Magento的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被困于访问安装页面,似乎无法使其正常工作,它始终会给我500 Internal Server Error错误.

I am stuck at accessing the installation page, can't seem to get it to work, it always gives me a 500 Internal Server Error error.

我研究了一些类似的问题解决方案,但是它们没有用.

I have looked into some of the similar question solutions but they didn't work.

推荐答案

在您的帖子评论中给出以下错误之后,经过一番搜索,您应该可以找到解决方案.

Following error you have given in your post's comment should lead you to the solution after a little search.

问题是Magento的.htaccess文件包含<IfVersion>命令.

The problem is Magento's .htaccess file consists <IfVersion> command.

要使用此功能,您的Apache Web服务器上的 mod_version 模块应已启用.否则会给出500错误.

In order to use this feature mod_version module should have enabled on your Apache web server. Otherwise it will give 500 error.

在Wamp中,默认情况下已禁用.

In Wamp it is disabled by default.

要在Wamp中启用它,您可以执行以下步骤:

To enable it in Wamp you can do following steps:

  1. 查找您的apache配置文件(httpd.conf):通常位于/wamp/bin/apache/apache(version)/conf/httpd.conf

  1. Find your apache config file (httpd.conf) : It usually is under /wamp/bin/apache/apache(version)/conf/httpd.conf

使用您喜欢的文本编辑器打开配置文件:您可以简单地使用记事本.但是我建议使用其他任何方法,因为记事本有时不显示换行符.如果您这样做(例如记事本++)

Open the configuration file with your favourite text editor: You can simply use Notepad. But I suggest any other one since notepad sometimes doesn't show line breaks. It will be more readable if you do (e.g. Notepad++)

搜索以下文本:"mod_version"

Search the following text: "mod_version"

您将看到以下行: #LoadModule version_module modules/mod_version.so

取消注释,使其启用:只需删除#标志即可取消注释

Uncomment it, so it will become enabled: Simply delete # sign to uncomment it

左键单击Wamp,然后按Restart All Services:.由于已在配置文件中进行了更改,以便让Apache服务器知道更改,因此至少应重新启动Apache服务器.

Left Click on Wamp and press Restart All Services: Since you have made changes in the configuration file in order to let Apache server know about the changes you should restart at least Apache server.

现在,您可以检查Magento是否正在工作.如果不是,请再次检查错误日志.可能还有另一个问题.

Now you can check if Magento is working. If it isn't check the error log again. There might be another issue.

遵循6个步骤应该可以轻松解决注释中提供的错误.另外,请编辑您的信息并添加更多详细信息,例如错误日志.

Following 6 steps should easily solve the error that you have provided in the comment. Also, please edit your post and add more details e.g. error log.

这篇关于500内部服务器错误与Wamp和Magento的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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