Sunday, April 19, 2009

Magneto installation crashes Apache HTTP Server

Problem Description
I downloaded magneto 1.3.1 and whenever I tried to installed on xampp version 2.5. After agree their terms I provided time, currency and language. Then in the next windows hostname, database name, password but after waiting a long time apache crashed with message "Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience" And a dialog box came with title "apache.exe - Application Error" saying "The instruction at "%s" referenced memory at "0x00000000". The memory could not "read". The two figures are shown below.
















Cause of the problem
Before xampp 1.7.0 magneto installation worked perfect. But after xampp 1.7.0 magneto installation crashes apache. The reason is after xampp 1.7.0 php uses PDO and any php programs using PDO crashed apache. That's why whenever you install magneto with XAMPP 1.6.8 it would work perfect.

Solution of the Problem
From the link http://windows.php.net/downloads/snaps/php-5.2-win32-VC6-x86-latest.zip download php or download some higher version of php, then unzip, and finally copy libmysql.dll into xampp\apache\bin

After that restart your apache server and try to install magneto. It should work perfect.

If still you get error then check whether another instance of php that would have caused your issue or at least another php.ini file in the Windows folder perhaps and/or a path variable pointing to your other instance of php in the Environmental Variables or this points to "path" System Environment Variable or in a registry. In that removing those entry will fix the problem.

Related Documents
http://arjudba.blogspot.com/2009/04/installing-magneto-fails-with-php.html
http://arjudba.blogspot.com/2009/04/after-installing-magento-cant-log-in-to.html

2 comments: