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

Posted claireyuancy

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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.



解决方法:

[[email protected] mysql]$ ./configure --with-php-config=/usr/local/bin/php-config --with-mysql-dir=/usr --with-zlib-dir


而非

[[email protected] 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.的主要内容,如果未能解决你的问题,请参考以下文章

PHP中PDO_MYSQL扩展安装问题error: mysql configure failed.

zabbix编译安装,安装mysql数据库:configure: error: Not found mysqlclient library

解决mysql跟php不在同一台机器上,编译安装php服务报错问题:configure: error: Cannot find MySQL header files under /applicatio

configure: error: no acceptable C compiler found in $PATH

configure error C compiler cannot create executables错误解决

configure: error: no acceptable C compiler found in $PATH