while compiling PHP if you get the error
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing
then you need to install
libc-client-devel package
if you are using a debian/ubuntu pc you need to search for the deb package and if on a redhat or centos or fedora pc then search for the rpm file.
