XAMPP crashes when installing Magento
June 25, 2009 7:54 pm2 Comments
When installing magento on your local testing server with XAMPP version 1.7.0 you will probably encounter the following error:
Apache HTTP Server has encountered a problem and needs to close.This is because after 1.7.0 PHP uses PDO (PHP Data Objects) and any PHP programs using PDO with the native version of XAMPP 1.7.0 will crash – you can see the output of the windows event manager:
Faulting application apache.exe, version 2.2.11.0, faulting module php_pdo_mysql.dll, version 5.2.8.8, fault address 0x0000250a.There are two solutions to the problem:
- Roll back to XAMPP version 1.6.8 which should work fine with Magento (just be sure to remove all traces of 1.7.0)
- Download the following file: http://windows.php.net/downloads/snaps/ unzip the contents (there will be numerous files and folders). Locate the file ‘libmysql.dll’ and copy and paste it into the following directories of your XAMPP install:
- xampp\apache\bin
- xampp\php
Categorised in: Web Development
This post was written by WillyNilly
2 Comments
this link http://cookphp.blogspot.com/2009/10/magento-xampp-17-installation-error.html is not available !!
Well spotted, I’ll remove it!