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
1. download PECL: | |
$ curl -O https://pear.php.net/go-pear.phar | |
2.install PECL in MAMP PHP folder: | |
$ sudo php -d detect_unicode=0 go-pear.phar | |
!!! make sure the installation directories look like this: !!! | |
1. Installation base ($prefix) : /Applications/MAMP/bin/php/php7.2.14 | |
2. Temporary directory for processing : /tmp/pear/install |