为了使用此扩展我们还需要单独安装扩展
原文链接:https://blog.csdn.net/marswill/article/details/77188521
使用pecl安置PHP的扩展时非常便利的,,但是如果首次使用pecl安置扩展则会呈现如下的错误:[本文档使用的系统为CentOS7版本]
-bash: pecl: command not found
这是因为在我们线上的PHP版本中默认是没有该成果的。为了使用此扩展我们还需要单独安置扩展。
yum install php-devel php-pear
安置完成后就可以直接使用pecl来安置PHP的扩展了
使用pecl安置php扩展时堕落-bash: pecl: command not found
温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/web/30338.html