After stunning Syko with accomplishing this, I figured it may help some people here.
-
Start the Apache monitor (Start > Programs > Apache HTTP Server [version] > Control Apache Server > Monitor Apache Servers).
-
Stop the Apache server that is currently running. Keep the monitor open.
-
Go to your Windows folder, look for php.ini, and open it up. Scroll down until you see a list of extensions like this:
**…
;extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_mysql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
…
**4) Remove the ; in front of extension=php_mysql.dll, and save the file. This is what it should look like now:
**…
;extension=php_mssql.dll
;extension=php_msql.dll
extension=php_mysql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
…
**
5) Go to your PHP root directory (likely c:\php) and look for libmysql.dll. Copy this file to the Windows/System32 folder.
-
Do the same for the file **php_mysql.dll **in the folder ext, which is also located in your PHP root folder (likely c:\php\ext\php_mysql.dll).
-
Bring the Apache monitor back and start the Apache server again. Now, your PHP should be mysql ready