XAMPP crashes when installing Magento

June 25, 2009 7:54 pm
Published by
2 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:
  1. 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)
  2. 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
Restart Apache and you should be good to go! Tags: , ,

Categorised in:

This post was written by WillyNilly

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *