configure: error: Unable to locate gmp.h

The following error was getting generated during PHP compilation in the server.

checking for bind_textdomain_codeset in -lc… yes
checking for GNU MP support… yes
configure: error: Unable to locate gmp.h

Fix

yum install gmp-devel

Leave a comment