Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装swoole时make报错 #10

Open
itpang opened this issue Feb 24, 2016 · 3 comments
Open

安装swoole时make报错 #10

itpang opened this issue Feb 24, 2016 · 3 comments

Comments

@itpang
Copy link

itpang commented Feb 24, 2016

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

@reallovelei
Copy link
Collaborator

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

@unixcx
Copy link

unixcx commented May 28, 2016

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

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

@mongofs
Copy link

mongofs commented Dec 4, 2018

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants