免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: hakay
打印 上一主题 下一主题

[安装配置] 安装PHP,configure时总是在checking for mysql时出错. [复制链接]

论坛徽章:
0
11 [报告]
发表于 2006-06-02 09:52 |只看该作者
原帖由 HonestQiao 于 2006-6-2 09:40 发表
你直给出了了现象,没有办法帮助你。

你还要给出你的现场,以及操作。


请将案情情景重放~
这木有福尔摩斯~

说说,当时你咱滴做案滴?
坦白从宽,抗拒木事~

论坛徽章:
0
12 [报告]
发表于 2006-06-16 17:47 |只看该作者
Create a directory "mysql" e.g. in /usr/local/lib

mkdir /usr/local/lib/mysql

and create symlinks "include" and "lib" pointing to the original directories (here /usr/include/mysql and /usr/lib/mysql)

cd /usr/local/lib/mysql
ln -s /usr/include/mysql include
ln -s /usr/lib/mysql lib

Now, go back to where you extracted the PHP-source and call configure again, telling it to search in /usr/local/lib/mysql for the mysql-client stuff.

./configure --with-mysql=/usr/local/lib/mysql ...

Now the mysql-extension should compile.

论坛徽章:
0
13 [报告]
发表于 2006-06-16 17:58 |只看该作者
config failed

论坛徽章:
0
14 [报告]
发表于 2006-06-16 18:12 |只看该作者
change --with-mysql=/usr/local/mysql  to --with-mysql-dir=/usr/local/mysql
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP