Saturday, April 18, 2015

Install Magento On Windows with WAMP

Steps to Install Magneto on WAMP Server

You can get Started with Magento to build an outstanding e-commerce website with Magento. To Begin you must start with your Local server and the first step is to make your local server set to do practice. There are few easy steps that can set you up to start your first test project on Magento CE.OK lets get started. 


Download Magento and Magento Sample Data from This LinkInstall Sample Data First ( Make sure the Sample Data Must be Installed before you install magento in to your local server. We will cover How to install sample data on Local Server on next post. 

How to Install Magento to your Local WAMP Server

To Install Magento on your Local WAMP Server 

First Create a Directory on your Local C Drive and Name it WWW. You can also Put this on different directory. Now Unzip Magento and rename the folder to the name ideally to the site name. if your Site Name is www.xyz.com then you should create the folder name as xyz. Put the Folder Inside the WWW directory. 

Now you know that the directory is not on the same folder where it usually stays in WAMP normally. So We have to tell our WAMP  server a new location. To Do this 

Click on the W icon on the Status Bar Click on Apache  -> Alias Directories -> Add an alias. This would ask what the name of the Alias should be and where the  and where it is located. You can give the name as the name of the directory under www folder. and give the path like C://www/directry name. Now hit enter and Exit from the Alias.

Restart the WAMP server.

Now type http://localhost/www/sitename/ and you will be right there on the Magento Installation Page.

Click on the check box agree and click CONTINUE. 

On the Left hand side you will find tabs like 1. Location 2. Configuration, 3. Create Admin Account, 4. You are All Set.

On the Location Tab : Fill the form by giving Time Line where you live in and Currency that your Online store is dealing with.

If the Page throws a pho_crul error then go to WANP - > PHP -> PHP Extensions -> Then Field php_curl and tick mark on that. Refresh the Browser and you will see that the error is no more there.

Magento Configuration 

Once the Localization is complete it would  lead us to the configuration page where we have to connect to the database, Web Access Options . We have not created a database yet. So lets do the database and connect this .

First We would create a database. To do this
  1. Go to WAMP Server PHP/My Admin 
  2. Login using Username : root and Password : Blank ( Put nothing ) and Enter.
  3. Go to Database Tab , Give Database Name and Click on Create. 
We are done with the Database creation. Now Go back to Install Page. 

Give Host : localhost,
Database : database name 
Base URL : localhost/sitename
Admin Path : admin

And Continue..

You now be taken to the Admin Account Page. Fill the Form and Give your admin username and password ( Password should be minimum 8 characters and should contain letters, numbers and special characters ).

In admin panel if you see you are not loged in dont worry, its just a common problem. Just Go to the following path. 

www/sitefoldername/app/code/core/mage/core/model/session/abstract.php

And Comment all code of abstract.php.

You are now all set and ready to go . 
Article By www.ScriptoGraphics.com . A Magento eCommerce Webdevelopment Company