Install PHPMYADMIN on linux with php5.6

0
Hello, I am configuring a machine with php5.6, I have already 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 do not know if this will harm something in the environment since I already have those same packages in version 5.6. I want to know then if there is any way to install only phpmyadmin or if installing with all the additional packages will not affect the configuration of the machine 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]
    
asked by anonymous 06.11.2017 / 15:37

2 answers

0

I solved the following: I installed the php5.6-mbstring package, so phpmyadmin stopped requesting the php-mbstring package which in turn needed the php7.1-common, php7.1-mbstring, and php7.1 packages -xml. Then I just installed phpmyadmin by apt itself.

    
06.11.2017 / 16:13
0

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

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

Note that Phpmyadmin requires extensions:

  • mbstring
  • gd2
  • zip
  • openssl
  • libxml

And that's why your installation came up with this:

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

The other dependencies may be missing or even missing things for some optional phpmyadmin functions.

    
06.11.2017 / 15:46