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中

目录
相关文章
|
8月前
|
人工智能 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)
843 0
|
6月前
|
应用服务中间件 nginx
Ngnix使用make命令升级
Ngnix使用make命令升级
Ngnix使用make命令升级
|
7月前
|
Ubuntu PHP
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
124 1
【Python学习笔记】pip安装reportlab包时报错:fatal error LNK1158: cannot run ‘rc.exe‘
【Python学习笔记】pip安装reportlab包时报错:fatal error LNK1158: cannot run ‘rc.exe‘
|
PHP Windows
Windows下laravel/lumen中执行phpunit报phpunit: command not found解决办法
Windows下laravel/lumen中执行phpunit报phpunit: command not found解决办法
180 0
Windows下laravel/lumen中执行phpunit报phpunit: command not found解决办法
QGS
|
Shell
(openEuler21.03-x86)yum安装php+apache—shell脚本
记(openEuler21.03-x86)yum安装php+apache—shell脚本
QGS
256 0
(openEuler21.03-x86)yum安装php+apache—shell脚本
如何解决安装hexo init blog 时,出现WARN Failed to install dependencies. Please run ‘npm install‘ in “E:\tests
如何解决安装hexo init blog 时,出现WARN Failed to install dependencies. Please run ‘npm install‘ in “E:\tests
如何解决安装hexo init blog 时,出现WARN Failed to install dependencies. Please run ‘npm install‘ in “E:\tests
|
Ubuntu
【Ubuntu】apt-get install 报错 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)
【Ubuntu】apt-get install 报错 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)
196 0
|
Shell PHP
安装Appnode面板使用php命令时bash: php :command not found问题所在及解决办法
安装Appnode面板使用php命令时bash: php :command not found问题所在及解决办法
|
Shell 应用服务中间件 Linux