Last active
December 10, 2015 04:18
-
-
Save clemherreman/4380373 to your computer and use it in GitHub Desktop.
Change the PHP version used in Mac Os
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change CLI binary | |
# This way Mac OS Looks first in our brand new php binary folder, | |
# then fallback to the built-in (old) version of PHP | |
export PATH=/path/to/PHP/installed/by/macport/bin:$PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/apache2/http.conf | |
LoadModule php5_module /path/to/PHP/installed/by/macport/libexec/apache2/libphp5.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment