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

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

posted @ 2015-05-11 20:08  sooflow  阅读(407)  评论(0编辑  收藏  举报