Today when compiling php, the following error occurred: php installation error: configure: error: mcrypt.h not found. Please reinstall libmcrypt., which means that mcrytp.h was not found, and libcrytp needs to be installed at the following address Download libmarypt:
wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/attic/libmcrypt/libmcrypt-2.5.7.tar.gz
Installation:
tar -zxvf libmcrypt-2.5.7.tar. gz
cd libmcrypt-2.5.7
./configure
make
make install
Then install PHP
Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.
The above introduces error: mcryptth, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.