title: remove "all" php files from ubuntu
body: <p>I tried to uninstall php5 using commands like:</p>
  
  <pre><code>sudo apt-get remove php5, 
  sudo apt-get -y purge php.*
  </code></pre>
  
  <p>But now it turns out that I have half installation of php5, because when I run <code>php5 -v</code> command in terminal, it displays the version of php instead of saying that php5 does not exist.
  How do I delete all php related files so that I can install it back properly again?</p>