PECL Overview:
The full name of the PECL is the PHP Extension Community Library, which is open and packaged through PEAR (PHP Extension and application repository,php extension and application warehouse) packaging format Install the PHP extension repository warehouse. The PECL module can be downloaded and installed through the installation management of the PEAR Package Manager.
1. Download Pear
Curl-o Http://pear.php.net/go-pear.phar
2. Installing Pear
sudo php-d detect_unicode=0 Go-pear.phar
3. After executing the above command, the installation process will be followed by some configuration options
Input 1, enter, configure pear path to:/usr/local/pear
Input 4, enter, configure the command path to:/usr/local/bin
4. Enter two times, other let it default, installation complete
5. You can check whether the Pear installation succeeded ' pear version ' by command
PECL PEAR PHP Expansion Module Easy installation method