

When you use sudo in the terminal then you will be prompted to enter your admin password to proceed.

To start Apache web server run the following command. To check the version of Apache installed run the following command in the Terminal. Open Terminal using macOS Spotlight or go to /Applications/Utilities and open Terminal. The new macOS Mojave comes with Apache pre-installed. Lets go ahead and configure our LAMP stack development environment on macOS Mojave. We will be using the pre-installed Apache and PHP and we will download and setup MySQL database. In this tutorial we will learn to install Apache, MySQL, PHP on macOS Mojave 10.14.Īpple released the new macOS Mojave 10.14 on 24th September 2018 and it includes Apache and PHP.
