Use swoole_client on php-fpm or mod_php5