解决php编译报错configure: error: mcrypt.h not found. Please reinstall libmcrypt.

Posted victorcode

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决php编译报错configure: error: mcrypt.h not found. Please reinstall libmcrypt.相关的知识,希望对你有一定的参考价值。

yum install -y epel-release
yum install -y libmcrypt-devel
两个不能一起安装,因为CentOs6默认的yum源没有 libmcrypt-devel这个包,只能借助epel的yum源,所以先安装epel,再安装
libmcrypt。
————————————————
原文链接:https://blog.csdn.net/chuang3344/java/article/details/75115890

以上是关于解决php编译报错configure: error: mcrypt.h not found. Please reinstall libmcrypt.的主要内容,如果未能解决你的问题,请参考以下文章