Pecl

安装命令

curl -O https://pear.php.net/go-pear.phar 
sudo php -d detect_unicode=0 go-pear.phar

输入:1
输入:/usr/local/pear
输入:4
输入:/usr/local/bin
输入:ENTER> 

查看命令

# 查看Pear版本
pear version

# 更新Pecl
pecl channel-update pecl.php.net

# 查看Pecl配置信息
-

# 查看Pecl扩展安装目录
pecl config-get php_dir

# 更改Pecl安装目录
pear config-set php_dir /path/to/new/dir
posted @ 2020-09-14 16:28  kanelli  阅读(252)  评论(0)    收藏  举报