How to install PHP7 on Ubuntu or Debian

Taken from Stackoverflow, credits to @ryannerd. User contributed content licensed under cc-wiki with attribution required. Guide to install PHP7

So far so good. At this point I started having problems:

Reported that I did not have make installed. The solution was found here: I tried this, but still had problems so I did…