debian: phpmyadmin with nginx no apache

If you ever have a need for phpmyadmin for a debian machine running nginx you may notice a bunch of apache dependencies in the list when you try to install with apt-get. This is foul if all you wanted was phpmyadmin.

Here's how to get around it.

sudo apt-get update  
sudo apt-get install php5-cli php5-fpm fcgiwrap  
sudo apt-get --no-install-recommends install phpmyadmin  

I will note, you do not need both php5-cli and php5-fpm depending on your needs and setup, but you can always remove them later as well, they will satisfy the dependencies without having to install apache2.