Altoplace

LAMP

Configure Apache and PHP-FPM on macOS

This post describes how to install and configure Apache and PHP-FPM to create a macOS local web development environment. I also describe how to use Dnsmasq, which adds a local DNS caching server to support using virtual hosts.

I am using Homebrew to install most of the software. Please go to their site for installation instructions.

This post is just about Apache, PHP, and Dnsmasq; I wrote about MySQL in a separate post. In this post, I also describe some tools that I wrote to manage Apache, PHP, and dnsmasq processes.