LinkedDestiny / swoole-doc

swoole文档及入门教程
1.6k stars 732 forks source link

安装swoole时make报错 #10

Open itpang opened 8 years ago

itpang commented 8 years ago

error: #error "Enable async_mysql support, But no mysqli or mysqlnd." make: *\ [swoole.lo] Error 1

reallovelei commented 8 years ago

应该是你的PHP 安装的时候没有支持 mysqli or mysqlnd吧,可以按照文档上面把PHP重新装一下。

unixcx commented 8 years ago

昨天 突然想装个swoole 也遇到这个情况. 前提:ubuntu主机 apt-get 安装的lamp 过程:以为是缺少扩展,使用apt-get 安装了 mysqli 又装了 mysqlnd 没有解决

结果:下载php源码 swoole ./configure --enable-async-mysql=/{源码位置/ext/mysqlnd}

mongofs commented 5 years ago

昨天 突然想装个swoole 也遇到这个情况. 前提:ubuntu主机 apt-get 安装的lamp 过程:以为是缺少扩展,使用apt-get 安装了 mysqli 又装了 mysqlnd 没有解决

结果:下载php源码 swoole ./configure --enable-async-mysql=/{源码位置/ext/mysqlnd}

我问一下,我用centos怎么解决