免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6857 | 回复: 2
打印 上一主题 下一主题

php编译安装mcrypt扩展失败 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-10-15 13:15 |只看该作者 |倒序浏览
20可用积分
linux 下安装mcrypt扩展,我先编译安装了mcrypt软件依赖libmcrypt和mhash两个库,最后编译mcrypt都很成功,可是在编译php是报错,网上找了好多方法都不行。

[root@saasweb php-5.3.0]#  './configure' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/var/lib/mysql' ' '--with-mhash' '--with-mcrypt=/usr/local/include'

报错如下:
.....
checking for mcrypt support... yes
checking for libmcrypt version... >= 2.5.6
checking for mcrypt_module_open in -lmcrypt... no
checking for mcrypt_module_open in -lmcrypt... no
configure: error: Sorry, I was not able to diagnose which libmcrypt version you have installed.

实在没办法了还望高手指点!

论坛徽章:
0
2 [报告]
发表于 2009-10-15 16:17 |只看该作者
Sorry, I was not able to diagnose which libmcrypt version you have installed


多搞几个版本试验一下。

论坛徽章:
0
3 [报告]
发表于 2009-10-16 17:12 |只看该作者

回复 #2 ziggler 的帖子

换了两个版本还是不行
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP