php7.4如何安装swoole扩展

#unzip swoole-v4.8.13.zip
#cd swoole-v4.8.13
#/usr/local/php/bin/phpize
#./configure --with-php-config=/usr/local/php/bin/php-config
#make && make install
#make test
#cp -p ./.libs/swoole.so /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/

#vi /usr/local/php/etc/php.ini
添加extension=swoole

#/etc/init.d/php-fpm restart
#php -m | grep swoole

  

posted @ 2024-01-22 23:59  tochenwei  阅读(126)  评论(0编辑  收藏  举报