Before you can get started with PHP, you will need to install it. Homebrew is a popular choice on macOS, since it provides the ability to easily switch between different PHP versions. In this lesson, we'll install PHP with Homebrew on macOS.