configure: error: Cannotfind MySQL header files under yes.
Note that the MySQL client library is not bundledanymore.
这是由于安装mysql时没有安装mysql头文件,或者是路径指定不正确,php找不到mysql的头文件引起的错误提示。
解决方法。
1. 查看你的系统有没有安装mysql header
2.redhat安装
3.debian安装
4.最后一步php的配置选项添加--with-mysql=/usr即可!
/buildconf --force 时,可能会报autoconf version 6.68错误
解决把它卸载,
pkg_info | grep "autoconf"
然后根据输出的autoconf名
pkg_delete autoconf6.68