Home > Backend Development > PHP Tutorial > php 编译安装报错 configure: error: mcrypt.h not found. Please reinstall libmcrypt.

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

WBOY
Release: 2016-06-20 12:55:25
Original
2168 people have browsed it

编译安装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

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template