This is for a windows based OS, I use MS SQL Server and MySQL so I uncommented both out!:
In your C:\WINDOWS\php.ini umcomment out the following:
;extension=php_ming.dll
extension=php_mssql.dll
;extension=php_msql.dll
extension=php_mysql.dll
Place these files into your C:\WINDOWS\system32 directory:
MySQL dll's
libmysql.dll
libmysqli.dll
php_mysql.dll
php_mysqli.dll
MS-SQL dll
php_mssql.dll
That should get you up and running, that is what I did.