Last active
August 29, 2015 14:20
-
-
Save vpilot/dbf24b98927c93b6c18a to your computer and use it in GitHub Desktop.
Installing mcrypt on OS X 10.10
This file contains 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
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