Skip to content

Instantly share code, notes, and snippets.

View andyman3000's full-sized avatar

Andreas Stephan andyman3000

View GitHub Profile
@srayhunter
srayhunter / configure-apache-path-environment-variable-on-macosx.md
Last active April 27, 2022 12:56
Configure Apache on Mac OSX with Environment Variables

Configure Apache Path Environment Variable on Mac OSX

Problem: Apache2/PHP did not find a program to execute on its configured path

Solution: Add a new path of /usr/local/bin to Apache2's path where the program was installed

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

     $ sudo vim /System/Library/LaunchDaemons/org.apache.httpd.plist