码迷,mamicode.com
首页 > Web开发 > 详细

安装php出错configure: error: mcrypt.h not found. Please reinstall libmcrypt

时间:2015-05-11 21:39:08      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:

wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/attic/libmcrypt/libmcrypt-2.5.7.tar.gz

安装:
66 tar -zxvf libmcrypt-2.5.7.tar.gz
67 cd libmcrypt-2.5.7
68 mkdir -p /usr/local/libmcrypt
69 ./configure prefix=/usr/local/libmcrypt/
70 make
71 make install

 

记得之后重新./configure的时候要加上/usr/local/libmcrypt

安装php出错configure: error: mcrypt.h not found. Please reinstall libmcrypt

标签:

原文地址:http://www.cnblogs.com/sooflow/p/4495464.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!