reanme php.ini-dist to php.ini and put it in path c:\windows for example

Also in php.ini add support to mysql

"As with enabling any PHP extension (such as php_mysql.dll), the PHP directive extension_dir should be set to the directory where the PHP extensions are located. See also the Manual Windows Installation Instructions. An example extension_dir value for PHP 5 is c:\php\ext"