In this post I will show you how to install Magento on WAMP server in your local computer.
Installing Magento on WAMP can be pretty painful for beginners, as magento requires a lot of server configurations which are not set by default.
*For those who are wondering, Why a server ? Well, for running a website you have to host the site in any server so that people in the internet can find it. In this case you will be turning your computer into a server and will host your website in it, so that you can see how your website behaves. But in this case your website will open only from the server i.e. your local computer.
1. How to install
on wamp server
magento ?
localhost/localcomputer
2. Installing Magento on WAMP can be pretty painful
for beginners, as magento requires a lot of server
configurations which are not set by default.
*For those who are wondering, Why a server ? Well, for running a website you have to host the site in any server
so that people in the internet can find it. In this case you will be turning your computer into a server and will host
your website in it, so that you can see how your website behaves. But in this case your website will open only
from the server i.e. your local computer.
3. Before
Starting
installation
Y o u n e e d t h e f o l l o w i n g . . .
WAMP server installed in your computer
Magento Community Edition Files.
If you don’t have WAMP installed in
your computer, then follow the
mentioned steps.
5. Install and start the WAMP server.
Make sure that your wamp icon is
Green, if it’s not green then it’s not
active.
To make it active click on it and
“Restart All Services”
6. Open any browser and type localhost or 127.0.0.1 on the address
bar and you will see your WAMP server dashboard page.
7. Download
community edition
magento
You can download magento community edition from this link
http://www.magentocommerce.com/download
You can select your format of choice and download.
8. Now that you have the server all set, you can start the
process of installing Magento.Extract the downloaded
Magento file. Inside the extracted file you will see a
folder named “magento”. You have to copy this folder
in the root directory of your WAMP server. To get to
the root directory, click on green WAMP icon and click
“www directory”, your server root directory will open
up.
Installing magento
Copy the “magento” folder in
this directory.
So now you have the magento
files ready for installation. But
before you start installation,
you have to create database
for your site.
9. Create
Database This will open the phpMyAdmin Page.
In your WAMP server Dashboard click on
phpMyadmin link in Tools section.
10. Click on the database tab and type in the database name
(suppose we name it magento1) and create the new database.
Your database creation is complete !
11. Server
Configuration
For error-free installation you have to change some
settings of your WAMP server.
Enable curl extension
Click on your Green WAMP icon ->
PHP -> PHP extensions -> php_curl
(at the top of the list) and click on it
to make it active. Click on WAMP
icon and Restart all services
12. Enable Apache rewrite module
Click on WAMP icon -> Apache -> Apache Modules -> rewrite_module
(towards the bottom of the list).
Click on WAMP icon and Restart all services.
Modify php.ini file
Click on WAMP icon -> PHP -> php.ini
13. This will open up your php.ini file in a text editor. Search for “
max_execution_time “ in the file and you will find something like
max_execution_time = 30 , change 30 to some arbitrary large value such
as 1500. This change means we are changing the Maximum execution
time of our server from 30 seconds to 1500 seconds.
Similarly search for “ max_input_time ” and you will find
“max_input_time = 60 ”, change 60 to 1500. Save the php.ini file.
14. Now you are all set to install magento
Click on WAMP icon and Restart all
services. Wait till the icon turns green.
Open your WAMP dashboard and click
on magento folder in Your Project
section.
15. The Magento installation wizard opens up. Accept the terms
and conditions and click on continue
This will open the phpMyAdmin Page.
16. The Localization settings page appears. No need to change anything
here, you can change settings from backend later.
Click to continue
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.
Refer to next slide
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.
Refer to next slide
18. Keep others as it is and click on continue. This step will take some time
as Magento will be creating the Database Tables.
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.
That’s it. You are done and have set up your first Magento Webstore.
19. GEneral
errors while
installing
Errors Solutions
PHP extension “curl” must be loaded
Maximum execution time of 30 seconds
exceeded in ‘Installation path of
WAMP/WWW/magento/lib/ZendDB/-
Statement/Pdo.php
Refer to slide 11.
Refer to slide 12.
magento
20. Reach us
www.insync.co.in
/InSyncSolutions
@InSyncIndia
/+InsyncCoIn
/company/insync
/insyncsolutions
/InSyncIndia
We Connect YOU GROW
www.appseconnect.com