Install Pecl/Pear on Mac OSX

Use curl as shown below to download the go-pear.phar file or just download the go-pear.phar file via your browser. $ curl -O https://pear.php.net/go-pear.phar $ php -d detect_unicode=0 go-pear.phar You’re now ready to configure PEAR for installation. First you need to change the Installation Base. So type 1, and then press Enter. Enter /usr/local/pear Press Enter. … Read more