configure: error: mysql configure failed. Please check config.log for more information.
时间:2014-05-15 05:15:02
收藏:0
阅读:318
为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
评论(0)