Skip to content

Instantly share code, notes, and snippets.

@vpilot
Last active August 29, 2015 14:20
Show Gist options
  • Save vpilot/dbf24b98927c93b6c18a to your computer and use it in GitHub Desktop.
Save vpilot/dbf24b98927c93b6c18a to your computer and use it in GitHub Desktop.
Installing mcrypt on OS X 10.10
Pre-requisit is to have homebrew installed.
1. brew install mcrypt
2. brew install autoconf
3. brew tap homebrew/dupes
4. brew tap homebrew/versions
5. brew tap homebrew/homebrew-php
6. brew install php55
7. brew install php55-mcrypt --without-homebrew-php
8. At last edit /ect/php.ini and add extension path to mcrypt.so, something like:
extension= /usr/local/Cellar/php55-mcrypt/5.5.24/mcrypt.so
You can find path by running:
brew info php55-mcrypt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment