Friday, March 26, 2010

How to install Magento in Window with Wamp

After three long days, Today I have successfully installed magento in my local P.C. To install magento its not an easy task. Actually magento is develop for Linux server. So install in window XP We have to make some changes into php.ini file.

Magento is not supported with php 5.3 so keep in mind not to use latest WampServer2.0i, download WampServer2.0h from
Magento latest version4.0.1 is not supported for Wamp, so download magento version 1.3.2.4 from http://www.magentocommerce.com/download

After successfully download magento unzip folder and put it into your wamp folder for example mine is D:/wamp/magento.

To install magento follow this steps....

1. Changes into Apache/config/httpd.config file.
  • #LoadModule rewrite_module modules/mod_rewrite.so
  • just remove # and you get
  • LoadModule rewrite_module modules/mod_rewrite.so.
2. Edit apache\bin\php.ini file.
  • #extension=php_curl.dll
  • #extension=php_soap.dll
  • #extension=php_mcrypt.dll
  • just remove # from these lines.
Now create the database name magento (which I used) and open the browser with http://localhost/magento
You will get page like


just click on agree button you get a new page like this

Here you can change your localized setting or by-default click on next button then you will get the following screen.


Please check your database name, User name and Password. and then click on next button you will get the admin page to create an account.


Fill up your admin detail like username and password as your choice. click on next button.
Now magento is ready. and you will get this screen.


Enjoy...

If you are facing problem regarding admin login just comment this line
go for magento\app\code\core\Mage\Core\Model\Session\Abstract\varien.php

go to line no 78, you get this code and comment line no 81 to 83

session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath()
/*$this->getCookie()->getDomain(),
$this->getCookie()->isSecure(),
$this->getCookie()->getHttponly()*/
);

No comments: