How to install magento | Magento installation step by step


1.Download the latest stable Magento package from:

2.then copy this package in 
xampp/htdocs
and extract its file in it. you will see file name is magento after extract process.


3.write http://localhost/magento/ 
 on your browser

then you will see 


Magento demo store















Click on the check box next to "I agree to the above terms and conditions" and click on the Continue button.




4.Choose the preferred Time Zone, Locale and Currency:

Magento | Localization
















Click on the Continue button.

After this stage you will find an error message : php extension curl is not loaded

To solve this problem
C:\xampp\php\php.ini
Open php.ini file and  find :
;extension=php_curl.dll and you will see it’s
This is comment line
then uncomment this line

extension=php_curl.dll

and  save it and restart your xampp server


5.Enter the database details: Database Name, User Name and User Password. You can leave the other options intact.
Click on the check box next to "Skip Base URL validation before next step".

Magento Configuration



in it 
host*-localhost
Database name*- magento 
before database name, create database file in 

http://localhost/xampp/ 
nd its name is magento according to your installation process.


username*- root
user password*-blank
table prefix - if you want to give


Click on the Continue button.


6.At this point you should enter the personal information and the admin login details which you want to use. You can leave the Encryption Key field empty and the script will generate one for you.

Magento create account
















Click on the Continue button.
Write down your encryption key; it will be used by Magento to encrypt passwords, credit cards and other confidential information.

Your Magento installation was successfully completed. Now you can navigate to its Frontend or Backend.


Magento frontend











Click on frontend

Magento default theme




















Backend View

Backend View


When you  tried to login to the backend but screen just refresh after entering username and password.

To solve this problem
Enter your magento folder and then find varien.php file and open it

 In line no.78 you will find :

$cookieParams = array(
            'lifetime' => $cookie->getLifetime(),
            'path'     => $cookie->getPath(),
            'domain'   => $cookie->getConfigDomain(),
            'secure'   => $cookie->isSecure(),
            'httponly' => $cookie->getHttponly()
        );


Then simply comment these field in it.

$cookieParams = array(
            'lifetime' => $cookie->getLifetime(),
            'path'     => $cookie->getPath(),
            //'domain'   => $cookie->getConfigDomain(),
            //'secure'   => $cookie->isSecure(),
            //'httponly' => $cookie->getHttponly()
        );

 Then save it and now you can login without any problem



Comments