使用pecl命令,安装php扩展。
使用场景:安装swoole扩展。
命令:
# 安装
pecl install https://pecl.php.net/get/swoole-2.1.3.tgz
# 卸载
pecl uninstall swoole
pecl install 后面可以输入扩展的链接,用于指定版本安装。
查看扩展列表:
https://pecl.php.net/package/swoole
使用pecl命令,安装php扩展。
使用场景:安装swoole扩展。
命令:
# 安装
pecl install https://pecl.php.net/get/swoole-2.1.3.tgz
# 卸载
pecl uninstall swoole
pecl install 后面可以输入扩展的链接,用于指定版本安装。
查看扩展列表:
https://pecl.php.net/package/swoole