今天使用pecl install swoole命令编译安装swoole的时候提示:Warning: popen() has been disabled for security reasons in OS/Guess.php on line 241这个错误

  心头一颤,赶紧百度知一下,说是在php.ini里将popen函数禁用了,这里总结一下,以免以后再遇到后手足无措

  解决办法:

  找到php.ini

  打开后找到Warning: popen() has been disabled for security reasons in OS/Guess.php on line 241

  这里面是被禁用的函数,需要哪一个,删掉

  然后保存退出

  执行/etc/init.d/php-fpm restart重启一下就OK

相关文章:

  • 2022-12-23
  • 2022-01-20
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2021-11-08
  • 2022-12-23
  • 2021-12-14
猜你喜欢
  • 2021-04-01
  • 2021-07-25
  • 2021-09-23
  • 2022-12-23
  • 2021-08-22
  • 2021-08-14
  • 2022-12-23
相关资源
相似解决方案