Magento is a feature-rich, professional open-source eCommerce solution that offers merchants complete flexibility and control over the look, content, and functionality of their online store.

When I first learned Magento of course I had to follow some instructions to install Magento in my local server and here are some short instructions by which someone can get help. It can be easily installed on windows with XAMPP and WAMP and before it; I recommend to install the latest version of XAMPP or WAMP. It is also a best practice using the latest version of magento because the latest version has the previous bug fixed and the new release is published.

Step 1: Download the latest version of Magento from here http://www.magentocommerce.com/download

Step 2: After unzipping keep the magento folder or renaming it to your server root doc. For XAMPP htdocs is the server root folder and www for WAMP.

Step 3: Setup Database using phpmyadmin.

Step 4: Edit apache/conf/httpd.conf change line:

#LoadModule rewrite_module modules/mod_rewrite.so

To

LoadModule rewrite_module modules/mod_rewrite.so

(just remove the # )

Step 5: Edit apache/bin/php.ini

;extension=php_mcrypt.dll

To

extension=php_mcrypt.dll

(just remove the ; )

Step 6: Edit php/php.ini

;extension=php_curl.dll

To

extension=php_curl.dll

(just remove the ; )

Step 7: On WAMP you must also change the following line in apache2/bin/php.ini and php/php.ini changes lines:

;extension=php_pdo_mysql.dll

To

extension=php_pdo_mysql.dll

(just remove the ; )

Step 8: you may also need to make sure you are loading:

extension=php_pdo.dll

Step 9: Restart all servers

Step 10: Goto: http://localhost/magento/install (replace the above “magento” with where your installation was extracted to) and continue with installation

Note: If you can’t login to the administration panel after installation, that’s because there’s a cookie problem. Add these lines:

127.0.0.1        magento.localhost.com http://www.localhost.com

To

C:/Windows/System32/drivers/etc/hosts (edit this file in notepad)

if u want more information :

http://onlyecommerce.wordpress.com/category/magento-2/

http://www.ironion.com/installing-magento-on-xampp/

http://opensourcecmsinfo.com/how-to-install-magento-1-7-0-2-step-by-step-with-screenshots/