最新下载
热门教程
- 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: https://www.111cn.net
If you need libmysql, apply the patch or create the symlink.
Better: Switch to mysqlnd
我也就把对于mysql, mysqli, pdo的配置选项改成了:
| 代码如下 | 复制代码 |
|
--with-mysql=mysqlnd |
|
编译通过~
相关文章
- 有哪些收号平台 04-28
- 红色沙漠火焰双手锤获取方法 04-28
- 崩坏星穹铁道丹恒腾荒何时上线 04-28
- 《The Sheep Detectives》评测 04-28
- 27年发售悬了 《刺客信条 女巫》被曝50人集体调离 04-28
- 异环别有洞天越狱方式详解-别有洞天如何逃离监狱 04-28