MySQL not loading in PHP on Windows

There seems to be bug in MySQL 5.0.41. I stumbled across this when I tried to install a new isntallation of wordpress with the up to date versions I keeps getting a message “cannot load MySQL extension, please check PHP Configuration”. You can verify this also by running the following command: “php -m”. If you recieve a message lett ing you know that it can not load the MySQL dynamic library then this might be your problem. this is a know bug documented here:

http://bugs.mysql.com/bug.php?id=28358

problem: MySQL no loading in PHP

Fix: download a recompled version of libmysql.dll at:
http://www.tomdonovan.net/download/libmysql_5.0.41_Win32.zip
Replace all instances on your system.

thanks to the much smarter MySQL folks for this temporary fix.

About the Author

Leave a Reply

%d bloggers like this: