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
5
Answers
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
frommysql
— the message is saying the adaptermysql
is not availble.Did you remember to change your Joomla
configuration.php
file to usemysqli
?Open the Joomla (2.5 or 3.x)
configuration.php
file and look for the line:and change it to:
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
The uncomment
extension=php_mysqli.dll
Then restart apache
Open the Joomla (2.5 or 3.x) configuration.php file and look for the line:
and change it to: