How to install Magento On wamp Server.

Please follow these instruction to install Magento on local Server,  

Step 1:- For Download magento go To             http://www.magentocommerce.com/download and download latest version.

Step 2:- Extract Magento folder and copy in your localhost folder.
Step 3:- Create database in phpnyadmin database name should be in lower case.
Before go further we have to make some changes So let’s do it now.
Step 4:- Go to this location wamp\bin\apache\Apache2.4.4\conf open httpd.conf file and change this line:-
#LoadModule rewrite_module modules/mod_rewrite.so
To
LoadModule rewrite_module modules/mod_rewrite.so

Step 5:- Go to this location wamp\bin\apache\Apache2.4.4\bin  open php.ini file and change this line:-
;extension=php_mcrypt.dll
To
extension=php_mcrypt.dll
And
;extension=php_curl.dll
To
extension=php_curl.dll
And
;extension=php_pdo_mysql.dll
To
extension=php_pdo_mysql.dll
And
max_execution_time = 30 
To
max_execution_time = 1800 
In addition to php_pdo_mysql.dll, you may also need to make sure you are loading:
extension=php_pdo.dll
If these lines not in the file then places all code anywhere inside the file.
Now restart your wamp Server.

Step 6:- Go to your browser and run your Magento directory.
Step 7:- Check the agree box and click on continue button.
Step 8:- The Localization settings page appears. No need to change anything here, you can change settings from backend later.
Click on continue.
Step 9:- Next the Configuration settings page appears. You have to give the Host name which will be “localhost” in this case. The Database name would be the one that we created earlier.
Step 10:- User Name should be the Database user name. If you haven’t changed anything then it should be “root” and the password section would be blank.

Step 11:- Keep others as it is and click on continue. This step will take some time as Magento will be creating the Database Tables.

Step 12:- After this the Admin Account creation page appears. Fill in the details and remember the Username and Password, it will be required to access the Admin section. You can leave the Encryption Key section Blank. Click on continue.

Step 13:- That’s it now you can see your admin or frontend.

If Database server does not support the InnoDB storage engine on the Configuration settings page while installing magento then.

Open this file C:\wamp\www\magento\app\code\core\Mage\Install\Model\Installer\Db\mysql4.php
and find public function supportEngine() this function and replace it by this code.

public function supportEngine()
{
$variables = $this->_getConnection()->fetchPairs('SHOW ENGINES');
return (isset($variables['InnoDB']) && $variables['InnoDB'] != 'NO');
}




No comments:

Post a Comment