为php增加mysql模块时报错
作者:Aliot
发布时间:2017-07-02
评论:0
阅读:0
为php增加mysql模块时报错
时间:2015-02-28
configure: error: mysql configure failed. Please check config.log for more information.
为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
更多精彩内容:http://www.bianceng.cn/webkf/PHP/