Make sure the php.ini file is the same directory as the bot.... I don't think it's in the 0.5.2 download, so get it from the 0.4.3 download.
In that file are 3 lines you need to edit...
extension_dir (add path to where php_mysql.dll is)
uncomment the 2 lines (extension=) for windows support files.