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.
i got an error in configuration ………before it i had done all the changes that you suggests….bt after that the Microsoft debugger will not allow me to run apache.exe…
please help me to solve this problem
No there is no news ! you can try again.First time it may be error for windows Xp using Xampp because magento mainly not configurrered for windows Xp..probems like as time execeeded or data already exist but if you try again. hope you can overcome your problem.
thanks.
error- PHP Extension “curl” must be loaded
i cant find php.ini file in apache/bin folder that because errot above. how? any ideas?
you can find it inside the php folder .
i cant logon to admin site? any ideas?
Try for “PrestaShop”. Another outstanding Shopping cart CMS.
it’s not allowing me to install, in configuration step stuck, it’s not allowing to run my apache server????
Hi
I have tried to setup Magento using methods but are my attempts where to no avail.
I have changed my extensions in the php.ini files but still receive the following error:
Your server does not meet the following requirements in order to install Magento.
The following requirements failed, please contact your hosting provider in order to receive assistance with meeting the system requirements for Magento:
* You need MySQL 4.1.20 (or greater)
* You are missing the curl extension
* You are missing the mcrypt extension
The following requirements were successfully met:
* You have PHP 5.2.0 (or greater)
* Safe Mode is off
* You have the dom extension
* You have the gd extension
* You have the hash extension
* You have the iconv extension
* You have the pcre extension
* You have the pdo extension
* You have the pdo_mysql extension
* You have the simplexml extension
If anyone can help I would really appreciate it and even later give something back.I really need Magento setup by Thursday 01/10/09 as I need to start with a project on friday.
I am new to Magento and have to familirize myself with the code but my first challenge is the installation.
Thanks in advance.
Nathan
Dear HafisBd,
if you still have faced some problem to login admin panel then write URL lke as http://127.0.0.1/magento then your problem will be solved.
Dear,
kazi abdullah al Mamun (sumon) vai thanks for your nice suggestion…yes I will try it very soon.
i encountered this massage when i got to the magento installation phase:
“Fatal error: Method Varien_Object::__tostring() cannot take arguments in C:\xampp\htdocs\magento\lib\Varien\Object.php on line 488″
can you help me to recover from this error?
same problem with my problem, when I can post the solution, please e-mail sent to me also ..
I am very confused ..
Awesome affair, I didn’t thought reading this was going to be so amazing when I klicked at your title!!
Dear shamim Bhai,
i usually use Xampp 1.5 version. you mention two problem, I solve
First problem after some time I go solve second problem i get not “php.ini” which is mentioned in your site then i download “php_curl.dll“this past proper location. After some time i do reinstall magento some problem “PHP Extension “curl” must be loaded”
Please give me easy way. I wait your response.
1– >Go to C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php
2–> Comment the Line Number 78 to 84 i.e
/* session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath(),
$this->getCookie()->getDomain(),
$this->getCookie()->isSecure(),
$this->getCookie()->getHttponly()
);*/
Save Now .
Note Magento-1.3.2.4 doesnot support php 5.3.1 or php5.3.0
So if u use XAMPP 1.7.3 or XAMPP 1.7.2 Magento will not installed and it will show
“Fatal error: Method Varien_Object::__tostring() cannot take arguments in C:\xampp\htdocs\magento\lib\Varien\Object.php on line 488″
You should Installed XAMPP for Windows Version 1.7.1
Then Installed Magento ..
After Installed follow this
1– >Go to C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php
2–> Comment the Line Number 78 to 84 i.e
/* session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath(),
$this->getCookie()->getDomain(),
$this->getCookie()->isSecure(),
$this->getCookie()->getHttponly()
);*/
Save Now .
Hello Mr @avon Please Follow This
Asalaam Alaikum wrb,
Mashallah Nice blog ! good keep it up.
I need some kind of help on magento installation.
i got Magento installation wizard but when i cleck Next option to move to localization page. It does not perform any action.
It would be my pleasure if anybody helps me on resolving this issue.
looking forward ur comments
Thanks so much
Aoa wrb,
i am getting one error during magento installation:
“PHP Extension must be loaded”
plz anybody can help me
Thank you,
I figured out how to install Magento locally onto my computer running Windows XP. Here is a step by step guide on how to install Magento with no errors! http://www.jvfconsulting.com/blog/117/How_To_Install_Magento_Locally_On_Windows_XP.html
I was able to resolve the “getting stuck at” configuration setup part by manually creating the DB name in the PhPmyAdmin.
Now, my problem is logging into the backend part of Magento. Why won’t it let me log in? It just keeps reloading the same admin page.
i’m using Xampp 1.7, Magento latest ver and Apache.
Thanks!
use URL http://127.0.0.1/magento then ok your problem will be solved.
“use URL http://127.0.0.1/magento then ok your problem will be solved.”
Not solved for me… when I put in my admin password and click “login” It just refreshes the page and goes nowhere whether I use the url http://localhost/magento or http://127.0.0.1/magento
Not sure what the problem is.
Problem solved! You need to delete the cache and session folder located at /magento/var forlder
boss already i am working on magento project online
with the help of svn. Again i am not able to run the magento? Is it possible to run magento again?
please tell me the pros and cons
Thx!! That helps!!
Greetings Katja
Hi John, You have to use some other web browser. If you are using mozilla then try it on opera or google chrome. It will surely work…
I’m using the latest version of magento. I can’t login in the admin panel. When I use the http://127.0.0.1/magento/admin it will be redirected to http://localhost/magento/.
Please Help! thanks.
I’m using the latest version of magento. I can’t login admin part at first time, off the code and try login…
1– >Go to C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php
2–> Comment the Line Number 78 to 84 i.e
/*$cookieParams = array(
‘lifetime’ => $cookie->getLifetime(),
‘path’ => $cookie->getPath(),
‘domain’ => $cookie->getConfigDomain(),
‘secure’ => $cookie->isSecure(),
‘httponly’ => $cookie->getHttponly()
);*/
I was tried to install magento on my localhost server. At first time I install magento 1.4.1 on xampp-win32-1.7.2. then I drop all the data after installation. Then upload sample data 1.2.0. and catalog file into media directory folder and again install. But at the time of provide database information and clicked continue. It shows me an error which is:
Fatal error: Call to a member function insert() on a non-object in F:\\xampp\\htdocs\\magent\\app\\code\\core\\Mage\\Core\\Model\\Mysql4\\Resource.php on line 96
Plz tell anybody how will I solved it. Your favor will appreciated.
Thnx.
Mirza Twhidul Imran
Just delete all data from cache then install again. hope your problem will be solved. and enjoy it.
Brother Shamim I delete all data from my cache. But the error massage is showing:Fatal error: Call to a member function insert() on a non-object in F:\\xampp\\htdocs\\magent\\app\\code\\core\\Mage\\Core\\Model\\Mysql4\\Resource.php on line 96
Note Here, I download Magento 1.4.1 and Sample Data 1.2.0 form magento site.
do you have 1 under your connection in app/etc/local.xml? One of my devs just has this issue and that fixed it
thanks i was able to install magento using xampp as shown by you and big thanks to nayan paul
As/wa..
i followed above installation steps on windows, i kept downloaded folder in xampp htdocs folder i will run that page.installation page come, when i continue the 3rd page database name, username, password etc.. following error will occurred.
“There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 956082732″
please help me why this thing will happen.
Thanks
same error url redirect problem help me
vinod
hey guys here is the simple solution
for Windows XP with wammp / xammp any server
open run commend and type
c:\windows\system32\drivers\etc\hosts
open it with notepad and change localhost to http://www.localhost.com
after that type http://www.localhost.com to your browser address bar then install magento
visit http://www.ingenious-vision.net
Dear Shamim,
Assalam Walaikum
I was installing magento-1.5.0.1 on our local machine.
During installation process i found an error in configuration which stated that “Please enter the valid URL. Protocol is required (http://, https:// or ftp://)” although i have entered http://localhost/magento/
Please help me in solving the error.
try http://127.0.0.1/magento/
and during the installation it will ask to give admin url…at that time give url as http://127.0.0.1/magento/admin
i think it should help u….
thankx its working
This may be useful
http://blog.sudarshansoft.com/installing-magento-on-localhost
Hi,
I tried to install magento 1.5 under xampp windows 1.7.3 on local machine (OS – windows 7). I’m stuck in configuration page. I already read through above mentioned problem solving ways but I cannot overcome this page
It says “You need MySQL 4.1.20 (or greater)”. I think MySQL version 5.1.x is used in xampp windows 1.7.3. Isn’t it ?
How should I try this problem ? Pls help me
Thanks shamim vi, i have just started my journey with magento, your tutorial makes me easy to handle the primary stage.
Quite good post. I just stumbled upon your weblog and wanted to say that Ive truly enjoyed surfing about your weblog posts. Soon after all I is going to be subscribing to your feed and I hope you write once again quite soon! 60259
I still get the error:
PHP extension “curl” must be loaded.
remove the comment before the “curl” extension in php.ini and restart the server. then it will be solved
Regards for this marvelous post, I am glad I discovered this web site on yahoo.