best cricut

XAMPP 1.7.0 for Windows Problem

We recently updated our XAMPP on developers work stations to 1.7.0, since it incorporates the latest MySQL 5.1 and PHP 5.2.8 releases. However we dicovered an issue with the mysql libraries which prevents PDO from running properly. Come with the package there are two versions of mysql libraries, if you check xampp/php and xampp/apache/bin you will find one is named libmysql_5.0.51a on the files, the other is just libmysql.dll, all we did to fix the problem is replacing the library files with the 5.051a files in the directories mentioned before. Also in xampp/php/ext there're php_mysqli.dll and php_mysql.dll needs replacing too. Please make sure you stop Apache before replacing file under xampp/apache/bin This should fix the problem with PDO.
Be Sociable, Share!
Written by in: Web Development | Tags: , , , ,


  • William says:

    I’m having trouble understanding you, where the files your getting from to replace them (libmysql_5.0.51a, libmysql.dll)? Is it from the “xampp/php” directory?

    How about the files “php_mysqli.dll” and “php_mysql.dll”, you didn’t mention where to get those files from to replace them?

    By the way, did you report the PDO problem to XAMPP? If not, can you please report the PDO problem before they release the next version.

    • Frank Liu says:

      Hi William,
      Thanks for your comment. You should be able to find _5.0.51a dlls in each folders that needs file replacement (i.e. php, php/ext and apache/bin). I believe the original dlls are for older version of MySQL, and _5.0.51a are for for MySQL 5.0. However XAMPP 1.70 has MySQL5.1, both of the dlls are having some sort of issues, it’s been a while I can’t remember what’s the exact problem with _5.0.51a dlls, but at least that should work with PDO while the originals don’t. I believe people at XAMPP already aware of this issue and will have this issue resolved in the next patch or release.

  • Saeed says:

    Is the problem still there or they fixed it

  • Humberto says:

    Gracias por el tip.
    También pude solucionar de esa manera el problema que tenía con el XAMPP 1.7


RSS feed for comments on this post.

Copyright Orite Group Pty Ltd | Powered by WordPress | Theme: Aeros 2.0