By default, macOS High Sierra comes with PHP 7.1 installed and Apache Apache/2.4.27 (Unix). But to get it to show up, we have to edit a few files.
There are also 3 different ways to do this, and after doing all three, I prefer the Homebrew method.
First, let's start our Apache Server.
sudo apachectl start
Head to your apache2 httpd config path.
sudo vim /etc/apache2/httpd.conf
Then you will ne...