Database unavailable Database Support was not found. Please make sure you have the necessary drivers for one of the following supported Database Type

HI,

I’m getting the above error when trying to install version 7.8.2.
I’m running on Ubuntu. PHP Version 5.5.9-1ubuntu4.21 and Server version: 5.5.54-0ubuntu0.14.04.1 (Ubuntu).
I modified the php.ini file and followed on all other comments in the forums but I’m still getting the error:
Database unavailable

Database Support was not found. Please make sure you have the necessary drivers for one of the following supported Database Types: MySQL or MS SQLServer. You might need to uncomment the extension in the php.ini file, or recompile with the right binary file, depending on your version of PHP. Please refer to your PHP Manual for more information on how to enable Database Support.

Any idea?
thanks.

Do you have MySQL installed in your server? If not, start by doing that.

If you do, then follow the advice in the error: make sure the extension is not commented out in php.ini.

If you’re starting on a fresh server, just go with a newer Ubuntu and have it install everything (LAMP stack) automatically in the beginning.