编译PHP时提示:configure: error: Cannot find MySQL heade

CentOS5下用源码安装mysql-server , 在编译安装php-5.3.6 时用 --with-mysql 选项出现 

Note that the MySQL client library is not bundled anymore.
这个是缺少了 mysql-devel 安装包,用 

#yum install -y mysql-devel 

即可解决问题


你可能感兴趣的:(编译PHP时提示:configure: error: Cannot find MySQL heade)