Một số lỗi thường gặp trong quá trình biên dịch PHP
Các ngôn ngữ lập trình được tận dụng để phát triển các loại ứng dụng khác nhau. Khi chúng tôi chạy bất kỳ ứng dụng nào, nó cho phép chúng tôi tận dụng tất cả các chức năng được cung cấp cho nó nhờ mã.

checking for bind_textdomain_codeset in -lc… yeschecking for GNU MP support… yesconfigure: error: Unable to locate gmp.h
Fix
yum install gmp-devel- Error 8:
checking for utf8_mime2text signature… newchecking for U8T_DECOMPOSE…configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
Fix
yum install libc-client-devel- Error 9
checking for LDAP support… yes, sharedchecking for LDAP Cyrus SASL support… yesconfigure: error: Cannot find ldap.h
Fix
yum install openldap-devel- Error 10
checking for mysql_set_character_set in -lmysqlclient… yeschecking for mysql_stmt_next_result in -lmysqlclient… nochecking for Oracle Database OCI8 support… nochecking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!
Fix
yum install unixODBC-devel- Error 11
checking for PostgreSQL support for PDO… yes, sharedchecking for pg_config… not foundconfigure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
Fix
yum install postgresql-devel- Error 12
checking for sqlite 3 support for PDO… yes, sharedchecking for PDO includes… (cached) /usr/local/src/php-5.3.7/extchecking for sqlite3 files in default path… not foundconfigure: error: Please reinstall the sqlite3 distribution
Fix
yum install sqlite-devel- Error 13
checking for utsname.domainname… yeschecking for PSPELL support… yesconfigure: error: Cannot find pspell
Fix
yum install aspell-devel- Error 14
checking whether to enable UCD SNMP hack… yeschecking for default_store.h… no
checking for kstat_read in -lkstat… nochecking for snmp_parse_oid in -lsnmp… nochecking for init_snmp in -lsnmp… noconfigure: error: SNMP sanity check failed. Please check config.log for more information.
Fix
yum install net-snmp-devel- Error 15
checking whether to enable XMLWriter support… yes, sharedchecking for xml2-config path… (cached) /usr/bin/xml2-configchecking whether libxml build works… (cached) yeschecking for XSL support… yes, sharedconfigure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
Fix
yum install libxslt-devel- Error 16
configure: error: xml2-config not found. Please check your libxml2 installation.
Fix
yum install libxml2-devel- Error 17
checking for PCRE headers location… configure: error: Could not find pcre.h in /usr
Fix
yum install pcre-devel- Error 18
libtool: link: cannot find the library `/usr/lib/libidn.la’ or unhandled argument `/usr/lib/libidn.la’make: *** [sapi/cgi/php-cgi] Error 1
Fix
cd /usr/src/wget http://ftp.gnu.org/gnu/libidn/libidn-1.26.tar.gztar -zvxf libidn-1.26.tar.gzcd libidn-1.26./configuremakemake installln -s /usr/local/lib/libidn.la /usr/lib/libidn.la- Error 19
libtool: link: `/usr/lib/libxml2.la’ is not a valid libtool archivemake: *** [ext/xsl/xsl.la] Error 1
Fix
cd /usr/src/wget ftp://xmlsoft.org/libxml2/libxml2-2.7.3.tar.gztar -zvxf libxml2-2.7.3.tar.gzcd libxml2-2.7.3./configure –prefix=/usrmakemake install- Error 20
configure: error: Your t1lib distribution is not installed correctly. Please reinstall it.
Fix
yum install t1lib-devel.x86_64- Error 21
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
Fix
yum install libmcrypt-devel.x86_64- Error 22
configure: error: Cannot find libtidy
Fix
yum install libtidy libtidy-develHào Phạm – Bộ phận kỹ thuật!