企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
https://pecl.php.net/package/swoole ``` wget -c https://pecl.php.net/get/swoole-4.7.1.tgz --no-check-certificate cd swoole-4.7.1/ /usr/local/php/bin/phpize #如果没有config.m4 cd /usr/local/resource/php-8.0.10/ext/zlib mv config0.m4 config.m4; ./configure --with-php-config=/usr/local/php/bin/php-config --enable-openssl --enable-http2 --enable-mysqlnd --enable-sockets make && make install ps aux|grep php-fpm kill -USR2 端口 #重启php-fpm端口 vim /usr/local/php/etc/php.ini #搜索extension=shmop,然后加入 extension=swoole.so #重启php-fpm /etc/init.d/php-fpm restart #查看swoole信息 php --ri swoole ``` php安装swoole扩展教程(centos8) https://www.pianshen.com/article/62281371889/