首页 > 数据库技术 > 详细

configure: error: mysql configure failed. Please check config.log for more information.

时间:2017-05-17 18:52:22      阅读:336      评论:0      收藏:0      [点我收藏+]

为php添加mysql模块时报错

configure: error: mysql configure failed. Please check config.log for more information.



解决方法:

[vagrant@rs-1 mysql]$ ./configure --with-php-config=/usr/local/bin/php-config --with-mysql-dir=/usr --with-zlib-dir


而非

[vagrant@rs-1 mysql]$ ./configure --with-php-config=/usr/local/bin/php-config --with-mysql=/usr --with-zlib-dir




configure: error: mysql configure failed. Please check config.log for more information.

原文:http://www.cnblogs.com/claireyuancy/p/6868884.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!