adminer- None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available

whenever i login to the adminer, it always show:

    No Extension
             None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available.

I just installed this a while ago using the source package and i put it on my DirectoryRoot.


Solution 1:

Now you need to make

sudo apt-get install php-mysql

Since on recent release you need to install the new php7 version

And finally sudo service apache2 restart

Solution 2:

It might be the case that mysql is not configured with php. You can try and install it by the command

sudo apt-get install php5-mysql

Refresh the browser. Hope it helps.