We know Magento. It so popular. But most of the time for newbies it causes problem to install. So I describe here some process of that.
How to install Magento on WAMP Server localhost?
Magento, one of the leading e-commerce portal framework through which people can easily configure his/her own online web store by him/herself.
Magento CE is easily downloadable in http://www.magentocommere.com. Anyone can download and use this version. But at the time of installing Magento in your own local WAMP server, you will face a ‘Maximum execution time exceed’ error.
So in this article we are going to discuss how Magento can successfully be installed into your local WAMP Server.
Download WAMP Server: - For downloading WAMP server you need to go to the URL http://www.wampserver.com. You can download the latest version of WAMP 2.0i along with installation details from this URL. After download you will receive a Set Up file. Just install and start the WAMP server.
Download Magento CE: - For downloading Magento CE you need to go to the URL http://www.magentocommerce.com. From download section download Magento CE 1.4.0.1 in zip format. Extract the zip folder and copy the folder called “magento” to ‘WAMP installation path\WWW’ folder.
Create Database for Magento: - To install Magento on your local machine you need to create one database. So just go to ‘PHPMyAdmin ‘and create a database e.g. ‘magentotest’.
Start installing Magento: – Now start WAMP localhost in your machine. In the ‘Projects’ section, you will see a folder called ‘magento’, just click on this project.’ Magento Installation Wizard’ will start. In the next step click on the ‘Continue’ button and enter localization settings. In the next phase enter proper configuration settings and click on ‘Continue’ button.
Appearance of Error: - At this point of time an error will appear ‘Maximum time of 30 seconds exceeded in ‘Installation path of WAMP/WWW/magento/lib/ZendDB/Statement/Pdo.php’
How to fix this error?
Well, this error can easily be fixed; Here we are providing the solution to fix this error within short time.
Steps to fix this error:
- Open WAMP Server menu->go to PHP-> select php.ini file
- The file will be opened in a notepad.
- Find the code ‘max_execution_time’. By default the value set is ‘60’. Change it with a higher value ‘1800’.
- Find the code ‘max_input_time’. By default the value set is ‘30’. Again change it to ‘1800’.
- Save php.ini file.
See the result after fixing the error: - Now you are all set to see the result of what you have done. So start viewing it like this:
- Restart your WAMP services.
- Open WAMP localhost
- Click on the ‘magento’ folder
- Magento Installation Wizard will appear. Click on the ‘Continue’ button.
- Enter localization settings.
- Enter configuration settings. Click on the ‘Continue’ button.
- Now you will get the Admin setup section of Magento rather than the previous error.
- Setup and save Magento Admin settings.
- Get the Magento user panel on the URL http://localhost/magento/index.php and get the admin panel of Magento on the URL http://localhost/magento/index.php/admin.
If you have ever tried to set-up a localhost install of the Magento e-Commerce system for development purposes using WAMP, XAMPP you may have already run into the problem of URL / Domain validation halting the install process due to using localhost as the domain. This tutorial will explain how to successfully install Magento on you PC hosted localhost server.
The image above shows the error you will receive when trying to install Magento on a PC running WAMP, XAMPP etc. The error happens because Magento tries to validate the domain name under which you install the Magento system, when you use http://localhost as your domain Magento halts the install process completely. This can be a really annoying fact that stops a lot of people installing Magento on their home PC to evaluate it before committing to the system for there e-Commerce project. The short tutorial below will show you how to bypass this particular install error and successfully install Magento on your localhost test machine.
Firstly you will need to edit a Magento file to acheive this technique, it’s pretty easy to do so anyone should be able to follow this tutorial but if your not confident editing a file get a friend who is to do it for you. To edit any files we recommend that you use PSpad which is a text editor specifically built for editing php, javascript files etc.
1) Open you Magento folder and go to the directory /js/prototype/
2) You will see a file titled validation.js, open this file in your text editor.
3) Look for the code between lines 505 to 507, it should look like the code snippet below.
4) now you want to comment out those three lines of code by typing // in front of each of them, the code snippet below gives an exact example of what you should end up with after the edits. These edits disable only those three lines of code which check for a valid domain name upon Magento installation.
5) Install Magneto on your localhost, after install has completed successfully revert the validation.js file to it’s original code by removing the instances of // you added.
You should now have a fully functional install of Magento on your WAMP, XAMPP install on your home PC or business development server. If you have any questions about this technique please leave a comment.
Third Process:
How to Install Magento on windows with Xampp.
Today I have succeded to install Magento to localhost.. To Install Magento not so easy like as joomla or wordpress..Mainly magento is developed for linux operating system so if we want to install it to windows Xp with Xampp then we need to change some entities of Xampp file which are following..
think will help you on your way. think will help you on your way
Now download Magento and sample data from here
Rename the downloaderd magento file to magento and keep the renamed file to htdocs of Xamp
now create a database name like ae magento (which I have used) and import sample data to the database magento.
and open an browser write the URL like as http://localhost/magento
then you will get a page like this.
Just clicking agree you need to click continue then you will get a page like this…
here you have to localalize your location.. or bydefault you can click continue.. then you will get like as.
Here no need to change any thing but batabase name must be same as previous database name’magento ”(which i have used). then continue…
after that you will get a adminitration page for account of admin you have to fill up these as your choice like as.
Now magento is ready.. and login the administration pannel
then enjoy to use magento…
If you face some problem to login administration panel then use URL http://127.0.0.1/magento ok your problem will be solved.
Collected:From Internet.
By:Syed Ashik Mahmud
Contact:+8801717407376
No comments:
Post a Comment