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:
Enable telnet client on Windows 7 and Windows Server 2008

In the field of networking telnet is a very useful command line tool for checking connectivity with services running on...

Close