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 22.214.171.124, faulting module php_pdo_mysql.dll, version 126.96.36.199, 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:
Restart Apache and you should be good to go!Tags: apache, magento, xampp
Categorised in: Web Development
This post was written by WillyNilly