Swoole安装popen()找不到
生活随笔
收集整理的這篇文章主要介紹了
Swoole安装popen()找不到
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
報錯
[root@192 swoole]# pecl install swoole WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to updateWarning: popen() has been disabled for security reasons in OS/Guess.php on line 241 PHP Warning: popen() has been disabled for security reasons in /usr/local/php/lib/php/OS/Guess.php on line 241Warning: fgets() expects parameter 1 to be resource, null given in OS/Guess.php on line 242 PHP Warning: fgets() expects parameter 1 to be resource, null given in /usr/local/php/lib/php/OS/Guess.php on line 242Warning: pclose() expects parameter 1 to be resource, null given in OS/Guess.php on line 251 PHP Warning: pclose() expects parameter 1 to be resource, null given in /usr/local/php/lib/php/OS/Guess.php on line 251 downloading swoole-4.4.15.tgz ... Starting to download swoole-4.4.15.tgz (1,454,897 bytes) ................................................................................................................................................................................................................................................................................................done: 1,454,897 bytes 374 source files, building running: phpizeWarning: popen() has been disabled for security reasons in PEAR/Builder.php on line 467 PHP Warning: popen() has been disabled for security reasons in /usr/local/php/lib/php/PEAR/Builder.php on line 467 ERROR: failed to run `phpize'方法
在php.ini里將popen函數禁用了,這里總結一下,以免以后再遇到后手足無措 解決辦法:找到php.ini 打開后找到disable_functions把popen去除 disable_functions是禁用的函數 然后重啟php-fpm?
與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的Swoole安装popen()找不到的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Laravel表单提交419页面过期
- 下一篇: 深圳能源股票 涨停可能只是一个开始