安装PHP出现错误:Cannot find MySQL header
2015-10-28 16:53
711 查看
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
即可解决问题
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
即可解决问题
相关文章推荐
- phpmyadmin 403 You don’t have permission to access /phpmyadmin/ on this server
- Zend studio 5.5 编辑器设置 默认编码
- ThinkPHP 1.5 使用 Smarty 模板的方法
- 突然发现用PHP做多条件模糊查询很简单
- PHP转义函数
- 【PHP】创建文件夹及子文件夹无法创建的解决办法
- PHP split 函数
- php类似js indexof与lastindexof的方法
- Windows XP IIS PHP5详细配置
- php中include包含页面路径问题解决方法
- PHP格式化时间输出
- php中的SERVER变量
- php中(foreach)用法介绍
- php exec传参数问题
- php导出execl文件
- PHP函数引用类型参数
- iptables和FTP的pasv模式
- Windows10中的IIS10安装php manager和IIS URL Rewrite 2.0组件的方法
- thinkphp分页显示
- YII2 SQL 基础查询