数据库连接错误(1):MySQL适配器'mysql'不可用

I Have a vps server with PHP 5.3.3 installed ,I added a new version 5.3.28 and switch my hosting to use FastCGI with PHP-5.3.28 now i get this "Database connection error (1): The MySQL adapter 'mysql' is not available.".I beleive i miss some configuration when installing the new PHP version.any help is appreciated

It simply means what it says. To fix the issue, you will need to enable the MySQLi adapter by opening your php.ini file and uncommenting extension=php_mysqli.dll. Once done, restart Apache for the changes to take effect.

There may be an option on your VPS control panel, not sure but I would suggest looking there first.

If you do not have this option, or do not have access to the php.ini file then you will need to contact your hosting provider

It sounds like you've also change the available adpator to mysqli from mysql — the message is saying the adapter mysql is not availble.

Did you remember to change your Joomla configuration.php file to use mysqli?

Open the Joomla (2.5 or 3.x) configuration.php file and look for the line:

public $dbtype = 'mysql'

and change it to:

public $dbtype = 'mysqli'

If it isn't already…

I have same problem.. and solve using this link.. the problem is mysql lib not installed. and you should install before run again (remember reload apache)

https://help.ubuntu.com/community/ApacheMySQLPHP

I hope the question solved by this link..

You may have many php.ini files, the know the right file, you can run

php --ini

The uncomment extension=php_mysqli.dll Then restart apache

sudo service apache2 restart

Open the Joomla (2.5 or 3.x) configuration.php file and look for the line:

public $dbtype = 'mysql'

and change it to:

public $dbtype = 'mysqli'