Skip to content

Instantly share code, notes, and snippets.

Configure Apache Environment Variable on Mac OS

  1. Restart the computer in Recovery mode (hold down Cmd-R). Open Terminal and run:

     $ csrutil disable
    
  2. Restart the computer normally.

  3. Edit the Apache2 plist file with whatever editor you like (example using vim):