Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

500 Internal Server Error with Wamp and Magento

Tags:

wamp

magento

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.

like image 247
Dragoon Shimizu Avatar asked Mar 20 '18 20:03

Dragoon Shimizu


People also ask

How do you fix 500 Internal server error There is a problem with the resource you are looking for and it Cannot be displayed?

There is a problem with the resource you are looking for, and it cannot be displayed. The first solution to a 500 internal server error is to refresh the page. If the error persists, you may try clearing the cookies, deactivating faulty plugins or themes, fixing the . htaccess file, or contacting your hosting provider.


1 Answers

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

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

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

In Wamp it is disabled by default.

To enable it in Wamp you can do following steps:

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

  2. 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++)

  3. Search the following text: "mod_version"

  4. You will see following line: #LoadModule version_module modules/mod_version.so

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

  6. 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.

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

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.

like image 117
eyups Avatar answered Oct 20 '22 19:10

eyups