系统:centos 7
版本:php 5.6
--with-mysql=/Data/app/mysql
configure: error: Cannot find MySQL header files under /Data/app/mysql.
Note that the MySQL client library is not bundled anymore!
yum install -y mysql-devel
--with-mysql=/usr
configure: error: Cannot find libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore!
--with-mysql
正确

本文详细记录了在CentOS7环境下使用PHP5.6配置MySQL的过程,包括遇到的错误和解决方案,如找不到MySQL头文件及库文件的问题,并提供了解决方案,即通过安装mysql-devel包来解决。
16

被折叠的 条评论
为什么被折叠?



