Following LAMP tutorial - Php5 "has no potential candidate"
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt is the command, E: package “php5” has no installation candidate is the response, same for libapache2-mod and the other one.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.