Created
August 16, 2017 06:27
-
-
Save pmkhoa/4b0321274b688c31584b87c72031245d to your computer and use it in GitHub Desktop.
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
$brew install brew install mcrypt php54-mcrypt | |
Copy default php.ini.default to php.ini | |
$sudo cp /private/etc/php.ini.default /private/etc/php.ini | |
Add this line to php.ini file extension section - please verify extension path with install location in your machine | |
extension="/usr/local/Cellar/php54-mcrypt/5.3.26/mcrypt.so" | |
Restart your apache server | |
$apache restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment