What is the best way to setup a server in a Mac?

Hi, there are several ways to run an Apache or Nginx server in a mac for PHP development.

  1. Install the server through brew
  2. Install from source
  3. Install through packages like Wamp, Xampp and Mamp

Out of these what do you think is the best? For my scenario, I do not want to run the server all the time especially not everytime the machine starts.

The recommendation these days is to use VirtualBox and Vagrant. Here’s some information on that: https://www.sitepoint.com/quick-tip-get-homestead-vagrant-vm-running/

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.