PHP


Setting Up PHP 7.1 macOS High Sierra


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.

#1. Default Mac Method

First, let's start our Apache Server.

sudo apachectl start

Editing httpd.conf

Head to your apache2 httpd config path.

sudo vim /etc/apache2/httpd.conf

Then you will ne...


Read Blog Post