码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2017-05-17 19:12:34      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:top   round   led   dal   rgb   php   figure   otto   info   

为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.

标签:top   round   led   dal   rgb   php   figure   otto   info   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!