编译安装swoole

一、下载swoole 源码 :https://www.swoole.com/

二、由于没有configure 所以要用phpize 编译 出 configure

三、/usr/local/soft/php/bin/phpize 编译用 configure

四、
./configure --with-php-config=/usr/local/soft/php/bin/php-config

    make 

    make install

    extension=swoole.so

猜你喜欢

转载自blog.51cto.com/2065997140/2444457