I had this problem, and resolved it as follows:
1) Execute at command line:
php -m
shows:
mysql not installed.
2) Search for php.ini
shows:
a php.ini file in the windows directory in addition to the php root.
3) Deleted php.ini file.
4) Re-execute php -m
shows:
mysql installed.
Good luck.