下载并安装pear脚本
cd /usr/local/php/bin/
curl -o go-pear.php http://pear.php.net/go-pear.phar
./php go-pear.php ##回车, 会提示选择安装的东西, 直接回车, 安装全部, 若后面有要选择y/n的, 输入y回车
php下载并安装pear脚本
If the copyright belongs to the longfei, please indicate the source!!!
下载并安装pear脚本
cd /usr/local/php/bin/
curl -o go-pear.php http://pear.php.net/go-pear.phar
./php go-pear.php ##回车, 会提示选择安装的东西, 直接回车, 安装全部, 若后面有要选择y/n的, 输入y回车