To enable MySQL support in PHP, follow below procedure.
Uncomment below two lines in php.ini file:
Uncomment below line in php.ini file and replace “ext”with the path where PHP extension files are located. By default extension files are places in php\ext folder.
extension_dir = "ext"
If the PHP is installed in C:\ drive then the above line will look like:
extension_dir = "c:\php\ext"
In my case it is:
extension_dir = "D:\hMailServer\php\ext"
Now, restart Apache Webserver service.