liunx执行pecl install swoole报错“failed to run `phpize‘”

简介: liunx执行pecl install swoole报错“failed to run `phpize‘”

解决方法


使用pecl install swoole命令编译安装swoole的时候提示:Warning: popen() has been disabled for security reasons in /www/server/php/72/lib/php/PEAR/Builder.php on line 525

ERROR: failed to run `phpize’这个错误

  

百度一下,说是在php.ini里将popen函数禁用了

  于是到宝塔界面修改取消禁止popen函数。

  


然后,重启Nginx就好了。


注意:下载完将extension=mongodb.so 添加到php.ini中

目录
相关文章
|
25天前
|
人工智能 Ubuntu 机器人
【ubuntu】手把手教你解决ubuntu报错openssh-server E: Sub-process /usr/bin/dpkg returned an error code (1)
【ubuntu】手把手教你解决ubuntu报错openssh-server E: Sub-process /usr/bin/dpkg returned an error code (1)
|
10月前
|
C++ Python
【Python学习笔记】pip安装reportlab包时报错:fatal error LNK1158: cannot run ‘rc.exe‘
【Python学习笔记】pip安装reportlab包时报错:fatal error LNK1158: cannot run ‘rc.exe‘
|
消息中间件 PHP
PHP编译安装amqp扩展报错解决:/usr/bin/ld: cannot find -lrabbitmq
PHP编译安装amqp扩展报错解决:/usr/bin/ld: cannot find -lrabbitmq
82 0
PHP编译安装amqp扩展报错解决:/usr/bin/ld: cannot find -lrabbitmq
onfigure: error: cannot find install-sh, install.sh, or shtool in
onfigure: error: cannot find install-sh, install.sh, or shtool in
200 0
|
JavaScript Linux Windows
imagemagick安装调用报错command failed
记录下通过nodejs调用imagemagick 的时候发现的一个错误,command failed -- crop .
imagemagick安装调用报错command failed
|
Shell 应用服务中间件 Linux
|
机器学习/深度学习 大数据 Linux
CentOS7.X下安装Gearman-1.1.17及其PHP-7.X扩展
CentOS7.X下安装Gearman-1.1.17及其PHP-7.X扩展
4443 0