Open itpang opened 8 years ago
应该是你的PHP 安装的时候没有支持 mysqli or mysqlnd吧,可以按照文档上面把PHP重新装一下。
昨天 突然想装个swoole 也遇到这个情况. 前提:ubuntu主机 apt-get 安装的lamp 过程:以为是缺少扩展,使用apt-get 安装了 mysqli 又装了 mysqlnd 没有解决
结果:下载php源码 swoole ./configure --enable-async-mysql=/{源码位置/ext/mysqlnd}
昨天 突然想装个swoole 也遇到这个情况. 前提:ubuntu主机 apt-get 安装的lamp 过程:以为是缺少扩展,使用apt-get 安装了 mysqli 又装了 mysqlnd 没有解决
结果:下载php源码 swoole ./configure --enable-async-mysql=/{源码位置/ext/mysqlnd}
我问一下,我用centos怎么解决
error: #error "Enable async_mysql support, But no mysqli or mysqlnd." make: *\ [swoole.lo] Error 1