1,安装pecl
yum install php-pear
检验
pecl -v
2, pecl install trader
报错:
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
ERROR: `phpize' failed
解决办法:yum install php-devel
重试,pecl install trader 成功