centos 源码安装php 出现 configure: error: mcrypt.h not found. Please reinstall libmcrypt. 解决办法

摘要

1: 下载:wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz;
2: 解压:tar zxf libmcrypt-2.5.7.tar.gz;
3: 编译:./configure –prefix=/usr/local;
4: 安装:make && make install;

最实用的解决办法如下:

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

2:  tar zxf libmcrypt-2.5.7.tar.gz

3:  ./configure --prefix=/usr/local

4:  make && make install

以上方法也是源码编译安装libmcrypt,虽然说yum安装也可以.有时候yum库估计有时候搜索不到libmcrypt. 因此源码安装是最实用的办法,最原生的东西.

当然:如果你想看libmcrypt 有多少个版本?是什么格式的?请打下如下链接:
ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt

libmcrypt

付杰
  • ¥ 298.0元
  • 市场价:598.0元
  • ¥ 0.0元
  • 市场价:199.0元
  • ¥ 199.0元
  • 市场价:199.0元
  • ¥ 398.0元
  • 市场价:598.0元

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: