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 Edit the Apache2 plist file with whatever editor you like (example using vim): $ sudo vim /System/Library/LaunchDaemons/org.apache.httpd.plist