Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[solved] Adminer missing extension error

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
Onsemeliot
Posts: 333
Joined: 2010-12-15 14:43
Has thanked: 20 times
Been thanked: 5 times

[solved] Adminer missing extension error

#1 Post by Onsemeliot »

Since phpMyAdmin isn't included in Buster I instead just instaled Adminer in order to work with MySQL data bases. Because I couldn't find the "/var/www/html/adminer.php" or access the Adminer web interface by using "localhost/adminer.php" after the installation routine was done (and I also didn't find any manual or info file) I followed a guide at howtoforge.com to download the most recent version 4.7.7 of the "adminer.php" file.

With it I am instantly able to login but greeted with the following error message:
No extension
None of the supported PHP extensions (MySQLi, MySQL, PDO_MySQL) are available.
The Adminer community recommends to use version 5.6.3 to fix this problem. But the download does not only contain a newer "adminer.php" file but a lot of files and folders even including a Debian binary. Therefore, I am confused now. I suspect it wouldn't be a good idea to pull in stuff, that isn't known by apt-get. But the Debian version doesn't seem to work.

Is there an other way to re-enable the needed extensions without switching to a newer version of Adminer? Every guide I find seems to assume the installation deals with enabling the needed extensions by default. I can't believe that the Debian community did include a version that doesn't work ... Should I purge and re-install MariaDB?
Last edited by Onsemeliot on 2020-07-15 12:37, edited 1 time in total.


User avatar
Onsemeliot
Posts: 333
Joined: 2010-12-15 14:43
Has thanked: 20 times
Been thanked: 5 times

Re: Adminer missing extension error

#3 Post by Onsemeliot »

Thank you for the link.

Neverteless, I would like to stick to Debian stable in order to get updates for all installed packages without the need to hunt them down in time. I don't mind using Adminer – if I can get it working properly.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Adminer missing extension error

#4 Post by kedaha »

Hi,
By the way, you may not have noticed that phpmyadmin is available from backports:

Code: Select all

$ rmadison phpmyadmin |grep buster-backports
phpmyadmin | 4:4.9.5+dfsg1-2~bpo10+1 | buster-backports           | source, all
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
Onsemeliot
Posts: 333
Joined: 2010-12-15 14:43
Has thanked: 20 times
Been thanked: 5 times

Re: Adminer missing extension error

#5 Post by Onsemeliot »

Thanks for the pointer. I have enabled the backports but I get the following if I want to install phpMyAdmin:

Code: Select all

# apt install phpmyadmin
...
The following packages have unmet dependencies:
 phpmyadmin : Depends: php-twig (>= 2.9) but 2.6.2-2 is to be installed
              Recommends: php-bz2
              Recommends: php-zip
              Recommends: php-tcpdf but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

User avatar
Onsemeliot
Posts: 333
Joined: 2010-12-15 14:43
Has thanked: 20 times
Been thanked: 5 times

Re: Adminer missing extension error

#6 Post by Onsemeliot »

Odd. Purging and re-installing Adminer did obviously help.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: [solved] Adminer missing extension error

#7 Post by kedaha »

How about:

Code: Select all

 # aptitude -t buster-backports install phpmyadmin
?
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
Onsemeliot
Posts: 333
Joined: 2010-12-15 14:43
Has thanked: 20 times
Been thanked: 5 times

Re: [solved] Adminer missing extension error

#8 Post by Onsemeliot »

Thank you. Obviously I haven't even aptitude installed on my system. But since it works well so far with Adminer I am fine for the moment.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: [solved] Adminer missing extension error

#9 Post by kedaha »

Am going to use Adminer myself. It seems lighter than phpmyadmin but it's easy enough to do a lot of the stuff these GUIs do via the command line.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

Post Reply