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中

目录
相关文章
|
12月前
|
关系型数据库 MySQL Linux
【Linux环境】centos安装mysql5.7.26报 ./mysqld: error while loading shared libraries: libaio.so.1: cannot op
【Linux环境】centos安装mysql5.7.26报 ./mysqld: error while loading shared libraries: libaio.so.1: cannot op
239 0
|
5月前
|
人工智能 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)
427 0
|
4月前
|
Ubuntu PHP
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
88 1
QGS
|
Shell
(openEuler21.03-x86)yum安装php+apache—shell脚本
记(openEuler21.03-x86)yum安装php+apache—shell脚本
QGS
178 0
(openEuler21.03-x86)yum安装php+apache—shell脚本
|
Shell PHP
安装Appnode面板使用php命令时bash: php :command not found问题所在及解决办法
安装Appnode面板使用php命令时bash: php :command not found问题所在及解决办法
|
Shell 应用服务中间件 Linux