Created
October 27, 2014 17:09
-
-
Save gavinanderegg/a20a9a994bf23b68074a to your computer and use it in GitHub Desktop.
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
# If you haven't done this already since upgrading, you need to: | |
xcode-select --install | |
# then build mcrypt with brew: | |
brew install php55-mcrypt | |
# If you don't have a php.ini already then copy the default over: | |
[ ! -f /etc/php.ini ] && sudo cp /etc/php.ini.default /etc/php.ini | |
# edit /etc/php.ini and add the following line in the [mcrypt] section: | |
extension=/usr/local/Cellar/php55-mcrypt/5.5.18/mcrypt.so | |
# then restart Apache: | |
sudo apachectl restart | |
# That should do the trick! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment