最新下载
热门教程
- 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 |
编译通过~
相关文章
- 火影忍者怎么获得大招 05-03
- 星际战甲新手什么刀好 05-03
- 文明6秦始皇金字塔怎么加速 05-03
- 全民奇迹2龙骸巨剑怎么获得 05-03
- 星露谷物语鲟鱼怎么获得 05-03
- 长安幻想怎么转职 05-03