Issues with Loading MySQL in PHP
This error message means that your PHP version isn’t compiled with MySQL support.
Don’t worry we have your fix.
Step One: Open php.ini file.
Ensure that your extension_dir is pointing to PHP\ext where your extensions (modules) reside.
For Example: extension_dir =”C:\Program Files\PHP\ext”
Next we need to activate the php_mysql.dll extension by removing the semicolon.
Change ;extension=php_mysql.dll to extension=php_mysql.dll
also add extension=php_mysqli.dll to the list.
Step Two: Go to mysql.com and download “php_5.2.0_mysqli_5.0.27-win32.zip” or “php_5.2.0_mysql_5.0.27-win32.zip”
Step Three: Unrar those files into your \PHP\ext folder
Step Four: Restart your server.
Apache 2.o.59 Win
PHP 5.2.1 Win
MySQL 5.0.37 Win

Entries (RSS)