how to start a complete webserver with php, apache, mysql with one mac command code example
Example: install apache on mac
# update Homebrew
brew update
#install apache using Homebrew
brew install httpd
# update Homebrew
brew update
#install apache using Homebrew
brew install httpd