CentOS5下用yum安装了 mysql 及 mysql-server , 在编译安装php-5.2.9时用 --with-mysql 选项出现
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore.
这个是缺少了 mysql-devel 安装包,用
#yum install -y mysql-devel
即可解决问题
阅读(961) | 评论(0) | 转发(0) |