Question

How do I install phpMyAdmin on PHP7 with NGINX?

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.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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