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




configure: error: mysql configure failed. Please check config.log for more information.,布布扣,bubuko.com

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

上一篇:初识Mongodb之[CURD]-PHP版


下一篇:zTree 从数据库中动态加载树形菜单