create swoole.so using officail site
https://www.swoole.co.uk/docs/get-started/installation
make for Linux Centos centos-release-7-2.1511.el7.centos.2.10.x86_64
sudo cp /your/swoole.so/path /usr/lib64/php/modules
sudo echo "extension=swoole.so" >> /etc/php.ini
php -m | grep swoole