installing php ext using perl in mac code example
Example: install pecl on mac
curl -O https://pear.php.net/go-pear.phar
sudo php -d detect_unicode=0 go-pear.phar
curl -O https://pear.php.net/go-pear.phar
sudo php -d detect_unicode=0 go-pear.phar