How Do You Install PHP on Your Ubuntu Server?

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?

Run this command as root:  apt-get -y install php5

Leave a comment

Your email address will not be published. Required fields are marked *