Install & configure Apache & PHP in Linux
from the Artful MySQL Tips List
There are some differences between Linux versions & releases but this step-by-step for installing Apache, MySQL and PHP Ubuntu 16.04 works for many releases:
If you've already installed MySQL, you can just skip that section.
the Artful MySQL Tips page