Home > Article > Backend Development > centos installation pear
The specific process of installing pear is as follows:
1. Download the go-pear.phar package
# wget http://pear.php.net/go-pear.phar
On the premise that the current user has operating permissions
2. Run
#php go-pear.phar or /usr/local/php5/bin/php go-pear.phar (specifically depends on your php installation path)
3. Click Enter twice ...
4. Check the installation location of your pear
#which pear
------Result:
/usr/local/php5/bin
The above introduces centos installation pear, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.