Install Mcrypt menggunakan Homebrew

# PHP 7
brew install php70-mcrypt

# PHP 5
brew install php56-mcrypt --without-homebrew-php

tambahkan baris ini di file /private/etc/php.ini:

# PHP 7
extension="/usr/local/Cellar/php70-mcrypt/7.0.x/mcrypt.so"

# PHP 5
extension="/usr/local/Cellar/php56-mcrypt/5.6.x/mcrypt.so"

done
Upgrade Mcrypt using Homebrew

brew reinstall -fs php71-mcrypt

Tulisan Lain   Push Notification di Android Menggunakan Google Cloud Messaging + PHP
Tagged : #

Leave a Reply

Your email address will not be published. Required fields are marked *