Our Blog

Share

To enable MySQL support in PHP, follow below procedure.

Uncomment below two lines in php.ini file:

extension=php_mysql.dll
extension=php_pdo_mysql.dll

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.

Share

Gopal Thorve

0 comments
Read more:
How to Install .Net Framework 3.5 Features on Windows Server 2012 R2?

When you try to install .NET Framework 3.5 Features on Windows Server 2012 R2 you might get below error if...

Close