Home  >  Article  >  Backend Development  >  centos installation pear

centos installation pear

WBOY
WBOYOriginal
2016-08-08 09:22:241781browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn