Jan
16
2009
16
2009
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.
4 Comments
Trackbacks/Pingbacks
- XAMPP 1.7.0 Problemas com PDO Select « Anselmo (March 30, 2009 6:28 am)
- battisti.etc.br » Blog Archive » XAMPP 1.7.0 Problemas com PDO Select (May 15, 2009 9:48 am)
RSS feed for comments on this post.
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.
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.
Is the problem still there or they fixed it
Gracias por el tip.
También pude solucionar de esa manera el problema que tenía con el XAMPP 1.7