Question

How do I install phpMyAdmin on PHP7 with NGINX?

Posted December 22, 2015 11.7k views
PHPLEMP

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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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

Submit an Answer