On my Windows box I found a couple of things needed changing in my php.ini to get the PHP Data Objects talking to a MySQL database.
extension_dir = "ext"
extension=php_pdo_mysql.dll