Can't install phpmyadmin

2 posts / 0 new
Last post
#1 Tue, 05/29/2018 - 17:26
Spartak

Can't install phpmyadmin

Hello,

I've successfully installed webmin and virutalmin and set up a website on my new server. However, whenever I try to install phpmyadmin on my website, I get this error:

PHP module mysql is required .. .. could not find global php.ini file

I manually copied /etc/php5/apache2/php.ini to /etc/php.ini, and after that virtualmin tried to install mysql, but throws this error:

PHP module mysql is required .. Installing package php56-mysql .. Installing package(s) with command apt-get -y -f install php56-mysql .. Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package php56-mysql .. install failed! Module is not available even after installation!

I actually already installed php5-mysql and php-mysql, and I don't understand why it tries to install php56-mysql, which doesn't exist in my repository. So my website is working fine with php5.6 and mysql in mod_php mode. I think virtualmin might be working with another php/mysql version. But still php7.0-mysql, php7.1-mysql and php7.2-mysql are also already installed.

So why virtualmin can't use mysql to properly install phpmyadmin?

Thank you very much for your help, I've been struggling with the issue for two days now and couldn't find any working solution.

Thu, 05/31/2018 - 08:21
Spartak

For anyone else having the issue, I ended up installing phpmyadmin manually.

References: https://www.youtube.com/watch?v=SoIFENuxbeQ (thanks Michael) https://www.digitalocean.com/community/tutorials/how-to-install-and-secu...

Topic locked