title: PHP Mysql installation
body: <p>I messed up my Mysql and php installation. I get the following error when I try to uninstall php, can some one help? Thank you :)</p>
  
  <pre><code>$ sudo apt-get purge php5
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  You might want to run `apt-get -f install' to correct these:
  
  The following packages have unmet dependencies:
  
    phpmyadmin: Depends: php5-mysql but it is not going to be installed or
                         php5-mysqli but it is not installable
  
                Depends: php5-mcrypt but it is not going to be installed
  
                Depends: dbconfig-common but it is not going to be installed
  
                Depends: libjs-mootools (&gt;= 1.2.4.0~debian1-1) but it is not going to be installed
                Recommends: php5-gd but it is not going to be installed
  
                Recommends: mysql-client
  
  E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
  </code></pre>