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

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

时间:2015-06-01 11:45:02      阅读:195      评论:0      收藏:0      [点我收藏+]

标签:php报错

编译安装php时报错的解决方法:

错误一:configure: error: mcrypt.h not found. Please reinstall libmcrypt.

    解决办法:需要安装Libmcrypt

        wget http://softlayer.dl.sourceforge.net/sourceforge/mcrypt/libmcrypt-2.5.8.tar.gz
        tar -zxvf libmcrypt-2.5.8.tar.gz
        cd /usr/local/src/libmcrypt-2.5.8
        ./configure --prefix=/usr/local
        make
        make install

本文出自 “夜读才子盼女鬼” 博客,请务必保留此出处http://more3.blog.51cto.com/9929586/1656994

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

标签:php报错

原文地址:http://more3.blog.51cto.com/9929586/1656994

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