Some of the following error messages are sometimes encountered in the CentOS compilation PHP5, which can basically be solved by using Yum to install the appropriate libraries.
Production environment Practical LNMP Architecture of the compilation installation +SSL encryption implementation http://www.linuxidc.com/Linux/2013-05/85099.htm
LNMP full feature compilation install for CentOS 6.3 Note http://www.linuxidc.com/Linux/2013-05/83788.htm
CentOS 6.3 Installation Lnmp (PHP 5.4,myysql5.6) http://www.linuxidc.com/Linux/2013-04/82069.htm
2 problems with Nginx startup failure encountered while deploying LNMP http://www.linuxidc.com/Linux/2013-03/81120.htm
Ubuntu installs Nginx php5-fpm MySQL (LNMP Environment Building) http://www.linuxidc.com/Linux/2012-10/72458.htm
"PHP" HD scanning pdf+ CD source + full instructional video http://www.linuxidc.com/Linux/2014-03/97536.htm
Here are some specific workarounds:
*******************************************************************************
Checking for BZIP2 support ... yes checking for BZIP2 in default path ... not found configure:error:Please reinstall the BZi P2 distribution
Workaround: Yum Install Bzip2-devel
*******************************************************************************
Checking for Curl support ... yes checking if we should use the Curl for URL streams ... no checking for curl in default path ... not Found configure:error:Please Reinstall the Libcurl distribution–easy.h should be in/include/curl/
Workaround: Yum Install Curl-devel
*******************************************************************************
Checking for Curl_multi_strerror In-lcurl ... yes checking for qdbm support ... no checking for gdbm support ... no checking for NDBM support ... no configure:error:DBA:Could not find necessary header file (s).
Workaround: Yum Install Db4-devel
*******************************************************************************
Checking for FABSF ... yes checking for Floorf ... yes configure:error:jpeglib.h not found.
Workaround: Yum Install Libjpeg-devel
*******************************************************************************
Checking for FABSF ... yes checking for Floorf ... yes checking for Jpeg_read_header in-ljpeg ... yes configure:error:png.h no T found.
Workaround: Yum Install Libpng-devel
*******************************************************************************
Checking for png_write_image in-lpng ... yes If configure fails try–with-xpm-dir=
Configure:error:freetype.h not found.
Workaround: Reconfigure your PHP with the following option. --with-xpm-dir=/usr
*******************************************************************************
Checking for png_write_image in-lpng ... yes configure:error:libXpm. (A|SO) not found.
Workaround: Yum Install Libxpm-devel
*******************************************************************************
Checking for Bind_textdomain_codeset in-lc ... yes checking for GNU MP support ... yes configure:error:Unable to locate GMP . h
Workaround: Yum Install Gmp-devel
*******************************************************************************
Checking for Utf8_mime2text signature ... new checking for u8t_decompose ... configure:error:utf8_mime2text () has new Signat Ure, but U8t_canonical is missing. This should is not happen. Check Config.log For additional information.
Workaround: Yum Install Libc-client-devel
*******************************************************************************
Checking for LDAP support ... yes, shared checking for LDAP Cyrus SASL support ... yes Configure:error:Cannot find Ldap.h
Workaround: Yum Install Openldap-devel
*******************************************************************************
Checking for Mysql_set_character_set in-lmysqlclient ... yes checking for Mysql_stmt_next_result in-lmysqlclient ... no chec King for Oracle Database OCI8 support ... no checking for UnixODBC support ... configure:error:ODBC header file '/usr/include /sqlext.h ' Not found!
Workaround: Yum Install Unixodbc-devel
*******************************************************************************
Checking for PostgreSQL support for PDO ... yes, shared checking for pg_config ... not found Configure:error:Cannot find Lib pq-fe.h. Specify correct PostgreSQL installation path
Workaround: Yum Install Postgresql-devel
*******************************************************************************
Checking for SQLite 3 support for PDO ... yes, shared checking for PDO includes ... (cached)/usr/local/src/php-5.3.7/ext checking for sqlite3 files in default path ... not found configure:error:Please Rei Nstall the sqlite3 distribution
Workaround: Yum Install Sqlite-devel
*******************************************************************************
Checking for utsname.domainname ... yes checking for Pspell support ... yes Configure:error:Cannot find Pspell
Workaround: Yum Install Aspell-devel
*******************************************************************************
Checking whether to enable UCD SNMP hack ... yes checking for default_store.h ... no
Checking for Kstat_read in-lkstat ... no checking for snmp_parse_oid in-lsnmp ... no checking for Init_snmp in-lsnmp ... no Co Nfigure:error:SNMP sanity check failed. Please check the Config.log for more information.
Workaround: Yum Install Net-snmp-devel
*******************************************************************************
Checking whether to enable XMLWriter support ... yes, shared checking for Xml2-config path ... (cached)/usr/bin/xml2-config checking whether Libxml build works ... (cached) Yes checking for XSL support ... yes, shared configure:error:xslt-config not found. Please reinstall the LIBXSLT >= 1.1.0 distribution
Workaround: Yum Install Libxslt-devel
*******************************************************************************
Configure:error:xml2-config not found. Please check your LIBXML2 installation.
Workaround: Yum Install Libxml2-devel
*******************************************************************************
Checking for PCRE headers location ... configure:error:Could not find pcre.h in/usr
Workaround: Yum Install Pcre-devel
*******************************************************************************
Configure:error:Cannot find MySQL header files under Yes. Note that the MySQL client library isn't bundled anymore!
Workaround: Yum Install Mysql-devel
*******************************************************************************
Checking for UnixODBC support ... configure:error:ODBC header file '/usr/include/sqlext.h ' not found!
Workaround: Yum Install Unixodbc-devel
*******************************************************************************
Checking for pg_config ... not found Configure:error:Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
Workaround: Yum Install Postgresql-devel
*******************************************************************************
Configure:error:Cannot Find Pspell
Workaround: Yum Install Pspell-devel
*******************************************************************************
Configure:error:Could not find Net-snmp-config binary. Please check your NET-SNMP installation.
Workaround: Yum Install Net-snmp-devel
*******************************************************************************
Configure:error:xslt-config not found. Please reinstall the LIBXSLT >= 1.1.0 distribution
Workaround: Yum Install Libxslt-devel
PHP5 Error Message resolution