There’s a much easier way — no need to disable SIP or download your own copy:
sudo php /usr/lib/php/install-pear-nozlib.phar -d /usr/local/lib/php -b /usr/local/bin
More Related Contents:
- How to install MySQLi on MacOS
- osx 10.10 Curl POST to HTTPS url gives SSLRead() error
- How to override the path of PHP to use the MAMP path?
- Php-intl installation on XAMPP
- How to use the php that brew installed?
- How can I easily switch between PHP versions on Mac OSX?
- Having problems while try to install OAUTH with PECL in MAMP on mac OS lion
- install ext-zip for Mac
- Installing PHP Zip Extension
- Enabling PostgreSQL support in PHP on Mac OS X
- Can’t install PHPUnit via PEAR, requires PEAR Installer >= 1.9.2, can’t upgrade PEAR from 1.9.0
- Issue in installing php7.2-mcrypt
- PHP files are downloaded by browser instead of processed by local dev server (MAMP)
- mysqli_real_connect(): (HY000/2002): No such file or directory
- dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib error running php after installing node with brew on Mac
- Getting PEAR to work on XAMPP (Apache/MySQL stack on Windows)
- Updating php version on mac
- CakePHP Database connection “Mysql” is missing, or could not be created
- How to update timezonedb in PHP (updating timezones info)?
- sending mail with php & escaping hotmails junk folder
- Mysql password expired. Can’t connect
- How to install an older version of PHPUnit through PEAR?
- Installing mcrypt extension for PHP on OSX Mountain Lion
- $PATH environment variable for apache2 on mac
- Installing PHPUnit via PEAR
- change the PHP path to MAMPs PHP
- Installing PHP Zip Extension in CentOS
- “PHP Fatal error: Class ‘HttpRequest’ not found”
- How do I check if a string contains a specific word?
- Best solution to protect PHP code without encryption