The Apache web server is running now on your macOS system.
You can try to reach your server in a browser by pointing it at you should see a simple header that says “It works!” Step 2 – Configure Apache You have successfully installed Apache web server via Homebrew, and configured it to auto-start with a privileged account. Now install the new version Apache server provided by Homebrew: brew install httpdĪfter completing the installation process, configure httpd service to be auto-started on system boot. Sudo launchctl unload -w /System/Library/LaunchDaemons/ Open a terminal and execute commands to stop running Apache server and remove it. Remove built-in Apache server (if any) from your system. It is useful for installing most open source software like Node. Ao login to your Mac system and open terminal Prerequisitesīefore starting the installation of Apache (HTTPD) server using this tutorial you must have the following prerequisites. This tutorial will help you to remove default installed Apache from the system and install Homebrew version Apache on your system. But it’s hard to manage it via homebrew due to Apple has removed some of the required scrips from latest macOS releases. The latest versions of macOS come with pre-installed Apache 2.4.