最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
编译PHP5.3.24遇到:checking for mysql_close in -lmysqlclient_r… no
时间:2022-06-24 16:22:08 编辑:袖梨 来源:一聚教程网
又在折腾服务器了~记录下自己编译php5.3.24的过程。执行了以下的 configure配置命令:
代码如下 | 复制代码 |
./configure |
遇到了如下错误:
checking for mysql_close in -lmysqlclient_r... no
checking for mysql_error in -lmysqlclient_r... no
configure: error: mysql configure failed. Please check config.log for more information.
查证、搜索后,找到一blog,讲是这样的原因:
See this bug report: http://www.111com.net
If you need libmysql, apply the patch or create the symlink.
Better: Switch to mysqlnd
我也就把对于mysql, mysqli, pdo的配置选项改成了:
代码如下 | 复制代码 |
--with-mysql=mysqlnd |
编译通过~
相关文章
- CF手游boss卡上限重置时间攻略 04-25
- 蛋仔派对爆爆狐技能最强搭配指南 04-25
- 深空之眼震离月读搭配方案推荐 04-25
- 以闪亮之名玩呐第13章如何快速通关 04-25
- 决胜巅峰大铁罐最强怎样出装最合适 04-25
- 以闪亮之名食谱领悟流程哪几种 04-25