itzikbenh
By:
itzikbenh

How do I install phpMyAdmin on PHP7 with NGINX?

December 22, 2015 8.1k views
PHP LEMP

I tried to install it but got an error. Does this mean I need to downgrade to php5?

The following packages have unmet dependencies: phpmyadmin : Depends: libapache2-mod-php5 but it is not going to be installed or libapache2-mod-php5filter but it is not going to be installed or php5-cgi but it is not going to be installed or php5-fpm but it is not going to be installed or php5 but it is not going to be installed Depends: php5-mysql but it is not going to be installed or php5-mysqli but it is not installable or php5-mysqlnd but it is not going to be installed Depends: php5-mcrypt but it is not going to be installed Depends: php5-json but it is not going to be installed Depends: php-gettext but it is not going to be installed Recommends: php5-gd but it is not going to be installed E: Unable to correct problems, you have held broken packages.

1 Answer

Fixed it. I went into my public folder and installed it with this command:
git clone --depth=1 --branch=STABLE https://github.com/phpmyadmin/phpmyadmin.git

God bless PHP for being the best thing on earth. Glory Hallelujah

Have another answer? Share your knowledge.