Skip to content

Instantly share code, notes, and snippets.

@gavinanderegg
Created October 27, 2014 17:09
Show Gist options
  • Save gavinanderegg/a20a9a994bf23b68074a to your computer and use it in GitHub Desktop.
Save gavinanderegg/a20a9a994bf23b68074a to your computer and use it in GitHub Desktop.
# 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