1,可以使用php -m 或者phpinfo()信息查看是否成功安装了swoole扩展 如图:
2,使用命令: php --ri swoole 如图:
php --ri swoole
3,或使用命令(一般用第二个就好了) php --info
php --info