Typical errors during PHP compilation in Linux (centos5.5) and solutions.

Source: Internet
Author: User

Introduction: this is a typical PHP compilation error in Linux (centos5.5) and a solution. The detailed page describes some typical errors and solutions for PHP compilation in PHP, PHP, Linux, and typical errors in Linux (centos5.5. Related knowledge, skills, experience, and some PHP source code.

Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 355983 'rolling = 'no'>
Reprinted

Configure: Error: xml2-config not found. Please check your libxml2 installation.

 
Yum install libxml2-devel

Configure: Error: cannot find OpenSSL's

 
Yum install OpenSSL-devel

Configure: Error: Please reinstall the libcurl distribution-

Easy. h shoshould be in/include/curl/

 
Yum install curl-devel

Configure: Error: libjpeg. (A | so) not found

 
Yum install libjpeg-devel

Configure: Error: LibPNG. (A | so) not found.

Yum install libpng-devel

Configure: Error: libxpm. (A | so) not found.

 
Yum install libxpm-devel

Configure: Error: FreeType. h not found.

 
Yum install FreeType-devel

Configure: Error: utf8_mime2text () has new signature, but u8t_canonical is missing. This shocould not happen. Check config. log for additional information.

 
Yum install libc-client-devel

Configure: Error: mcrypt. h not found. Please reinstall libmcrypt.

 
Yum install libmcrypt-devel

Configure: Error: Please reinstall libmhash. I cannot find mhash. h

 
Yum install mhash-devel

Configure: Error: cannot find MySQL header files under/usr.

Note that the mysql client library is not bundled anymore!

 
Yum install mysql-devel

Configure: Error: Please reinstall Ming distribution. libming. (A | so) not found

-Temp remove the config for '�� with-ming =/opt/Ming /'

Configure: Error: cannot find pspell

 
Yum install pspell-devel

Configure: Error: cannot find MM Library

Download from http://www.ossp.org/pkg/lib/mm/

 
Wget ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gzExtract it: tar-zxvf mm-1.4.2.tar.gz./configuremakemake install

Configure: Error: cannot find libtidy

 
Yum install libtidy-develyum install libtidychange path at configure: 'With-tidy =/usr'

Configure: Error: Not found. Please reinstall the expat distribution.

 
Yum install expat-devel

Configure: Error: XSLT-config not found. Please reinstall the libxslt> = 1.1.0 Distribution

 
Yum install libxslt-devel

* Tips: To uninstall, just enter:

 
Yum remove {package-name}

Finally the compilation of PHP end with "Thank you for using PHP ."

Love J2EE follow Java Michael Jackson video station JSON online tools

Http://biancheng.dnbcw.info/php/355983.html pageno: 2.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.