Install PHPMYADMIN on linux with php5.6

Asked

Viewed 1,136 times

0

Hello, I am configuring a machine with php5.6, I have installed and configured apache, php5.6 and mysql, now I want to install phpmyadmin, the problem is that when trying to install through apt it will install several other packages, among them some of php7.1, I don’t know if this will hurt anything in the environment since I already have these same packages in version 5.6. I want to know if there is any way to install only phpmyadmin or even installing with all the additional packages will not harm the machine configuration at all. Below I leave the terminal output when trying to install phpmyamin by apt.

andre@andre-desktop ~ $ sudo apt install phpmyadmin 
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
The following additional packages will be installed:
  dbconfig-common dbconfig-mysql libjs-jquery libjs-sphinxdoc libjs-underscore php-gettext php-mbstring
  php-pear php-phpseclib php-xml php7.1-common php7.1-mbstring php7.1-xml
Pacotes sugeridos:
  javascript-common php-libsodium php-mcrypt php-gmp
Pacotes recomendados:
  javascript-common php-gd php-tcpdf
Os NOVOS pacotes a seguir serão instalados:
  dbconfig-common dbconfig-mysql libjs-jquery libjs-sphinxdoc libjs-underscore php-gettext php-mbstring
  php-pear php-phpseclib php-xml php7.1-common php7.1-mbstring php7.1-xml phpmyadmin
0 pacotes atualizados, 14 pacotes novos instalados, 0 a serem removidos e 322 não atualizados.
É preciso baixar 6.730 kB de arquivos.
Depois desta operação, 37,5 MB adicionais de espaço em disco serão usados.
Você quer continuar? [S/n]

2 answers

0

The only way I see how to install without downloading such additional would be to download manually:

And put in a folder configured with Virtualhost or htdocs (if it’s a development environment)

Note that Phpmyadmin requires extensions:

  • mbstring
  • gd2
  • zip
  • openssl
  • libxml

And this is why in your installation this appeared:

php-mbstring, php-pear, php-xml, php7.1-common, php7.1-mbstring e php7.1-xml

The other dependencies may be things that were missing even and/or additional for some optional phpmyadmin functions.

  • I tried to install package by package that is required for phpmyadmin, all of them installed well until it arrived in php-mbstring, which when trying to install it requires php7.1-common php7.1-mbstring packages

0


I resolved as follows, I installed the php5.6-mbstring package, so phpmyadmin stopped asking for the php-mbstring package that in turn needed php7.1-common, php7.1-mbstring and php7.1-xml packages. then later it was only install phpmyadmin by the apt itself.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.