Posted by | 14 Comments
Posted on: November 8th, 2009

Install Magento on WAMP Localhost



Magento is a award winning eCommerce Platform, which has got a lot of features and options. Well, if you would like to exmplore all that, then the best way to start is installing Magento on localhost ( WAMP or XAMPP).

Let me tell you that Magento is not easy to handle as it seems and its far complex than any other eCommerce platform or any existing CMS scripts. So, in order to install Magento on your localhost, you need to follow the following steps, in order to get a error free Magento test store.

So, here is the list,

1. Download Magento from http://www.magentocommerce.com/download [ Make sure, you are downloading the latest Stable Release].

2. Make a database at your WAMP server’s phpmyadmin interface.

3. After you have downloaded the Stable pack’s zip package, extract it to your PC’s local folder and move the whole magento folder into your /wamp/www/ . So,it should be accesible at http://localhost/magento/

4. Now enter http://localhost/magento/ on your browser and it will come up with a browser installation Step-by-Step Wizard.  Just proceed with it and make sure, you dont make any changes in that wizard options, if you are not sure, what you are doing.

5. The second step, where you enter the database details, will take a while, since that step stores the tables in the database. So, hold your fingers, till it shows the next step on your screen.

6. Now, the next step will ask you to enter the admin details and you are done.

7. Test your new Magento store at your browser then.

If you want to install Sample Data in your test store , then check this article.

Installing Magento on localhost, has a bug of not letting the admin to be logged onto the admin panel. So, if you want a fix to it, then check this article.

14 Responses
  • #1 On June 8th, 2010 @ 5:37 pm
    Kiran says:

    Hi Soumendra,

    Thanks for your article related with magento installation on WAMP. I am trying to install this from last 3-4 days but didnt get the required results.

    Error in file: “C:\wamp\www\magento140\app\code\core\Mage\Sales\sql\sales_setup\mysql4-install-0.9.0.php” – SQLSTATE[HY000]: General error: 1 Can’t create/write to file ‘C:\Windows\TEMP\#sql_7e48_0.MYI’ (Errcode: 13)
    Trace:
    #0 C:\wamp\www\magento140\app\code\core\Mage\Core\Model\Resource\Setup.php(365): Mage::exception(‘Mage_Core’, ‘Error in file: …’)
    #1 C:\wamp\www\magento140\app\code\core\Mage\Core\Model\Resource\Setup.php(253): Mage_Core_Model_Resource_Setup->_modifyResourceDb(‘install’, ”, ’0.9.56′)
    #2 C:\wamp\www\magento140\app\code\core\Mage\Core\Model\Resource\Setup.php(217): Mage_Core_Model_Resource_Setup->_installResourceDb(’0.9.56′)
    #3 C:\wamp\www\magento140\app\code\core\Mage\Core\Model\Resource\Setup.php(146): Mage_Core_Model_Resource_Setup->applyUpdates()
    #4 C:\wamp\www\magento140\app\code\core\Mage\Core\Model\App.php(363): Mage_Core_Model_Resource_Setup::applyAllUpdates()
    #5 C:\wamp\www\magento140\app\code\core\Mage\Core\Model\App.php(295): Mage_Core_Model_App->_initModules()
    #6 C:\wamp\www\magento140\app\Mage.php(596): Mage_Core_Model_App->run(Array)
    #7 C:\wamp\www\magento140\index.php(78): Mage::run(”, ‘store’)
    #8 {main}

    can you please help me in getting the magento installed on my server. I have tried many options searching from google but nothing worked for me.

    Many thanks!
    Kiran

    Reply
    • #2 On June 8th, 2010 @ 6:45 pm
      Soumendra says:

      Hi.. make sure, your PHP and MySQL installed are of latest version. If any issues, then feel free to contact us.

      Reply
  • #3 On November 14th, 2010 @ 10:13 pm
    mark enriquez says:

    VERY IMPORTANT!! when using XAMPP and Magento on a locally-hosted dev system, NEVER USE LOCALHOST ADDRESS IDENTIFIER!!

    you will have problems logging into admin if you use localhost…you MUST use “127.0.0.1″ as your base address when you initially install magento, so the default install path NEEDS TO BE “http://127.0.0.1/” for the system to work….

    Reply
  • #4 On December 29th, 2010 @ 7:49 am
    jam says:

    i still can not install it ! oa !

    Reply
  • #5 On January 5th, 2011 @ 3:11 pm
    kamran says:

    Hi mark enriquez.
    Your tip for using 127.0.0.1 in baseurl works for me.
    Thanks :)

    Reply
  • #6 On May 24th, 2011 @ 12:32 pm
    Kunal Nath says:

    In localhost when i try to install magento it says baseurl required where i already mention in base url http://localhost/magento. Any suggestion?

    Reply
  • #7 On June 21st, 2011 @ 2:48 pm
    Mohit Jain says:

    Hi mark enriquez.
    Your tip for using 127.0.0.1 in baseurl works for me.
    Thanks :)

    Reply
  • #8 On June 23rd, 2011 @ 8:49 am
    Uggas says:

    when u wanna start install magento, use http://127.0.0.1/magento (or your folder name u specified for ur website) instead of http://localhost/magento. Understand?

    Reply
  • #9 On December 19th, 2011 @ 12:10 pm
    manish says:

    how can i install magento on localhost,when i try to install magento on localhost it gives an error log messages.

    Reply
  • #10 On December 31st, 2011 @ 11:37 am
    meena says:

    Not able to install magento on wamp localhost
    i followed the instructions given in this site
    but not getting any wizard for installation

    Reply
  • #11 On February 16th, 2012 @ 9:16 pm
    Technology News says:

    i have this erorr
    Deprecated: Function get_magic_quotes_gpc() is deprecated in C:\wamp\www\magento\app\code\core\Mage\Core\functions.php on line 32 in installation any 1 tell me how to fix it ?

    Reply
Leave your response:

Name (Required)

Email (Required)

Website (Optional)