Problem scenario
You tried this command as root: apt-get install php
But you got this as an error message:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package php
What do you do?
Solution
Run this command as root: apt-get -y install php5
…
Continue reading “How Do You Install PHP on Your Ubuntu Server?”