当我发出命令时:
yum install gcc php-devel libssh2 libssh2-devel php-pear make
在下面回复我:
Loaded plugins: fastestmirror, langpacks, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 104.219.172.10
* cpanel-addons-production-feed: 104.219.172.10
* cpanel-plugins: 104.219.172.10
* remi-php74: mirror.sjc02.svwh.net
* remi-safe: mirror.sjc02.svwh.net
Package gcc-4.8.5-39.el7.x86_64 already installed and latest version
No php-devel package available.
Package libssh2-1.8.0-3.el7.x86_64 already installed and latest version
Package libssh2-devel-1.8.0-3.el7.x86_64 already installed and latest version
No php-pear package available.
Package 1: make-3.82-24.el7.x86_64 already installed and latest version
Nothing to do
当我运行pecl install -f ssh2 command
返回我:
bash: pecl: command not found
我也无法安装 pecl,我试过yum install php-pear
但它返回:
Loaded plugins: fastestmirror, langpacks, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 104.219.172.10
* cpanel-addons-production-feed: 104.219.172.10
* cpanel-plugins: 104.219.172.10
* remi-php74: mirror.bebout.net
* remi-safe: mirror.bebout.net
No php-pear package available.
Error: Nothing to do