Errors that occur when you install PHP

Source: Internet
Author: User


Error 1:configure:error:xml2-config not found. Please check your LIBXML2 installation.

Solution: Yum install-y libxml2-devel


Error 2:configure:error:cannot find OpenSSL ' s <evp.h>

Solution: Yum install-y OpenSSL Openssl-devel


Error 3:checking for BZIP2 in default path ... not found
Configure:error:Please Reinstall the BZIP2 distribution

Solution: Yum install-y bzip2 Bzip2-devel


Error 4:configure:error:png.h not found.

Solution: Yum install-y libpng libpng-devel


Error 5:configure:error:freetype.h not found

Solution: Yum install-y freetype Freetype-devel


Error 6:configure:error:jpeglib.h not found.

Solution: Yum install-y libjpeg-devel


Error 7:configure:error:png.h not found.

Solution: Yum install-y libpng libpng-devel


Error 8:configure:error:mcrypt.h not found. Please reinstall Libmcrypt.

Solution: Rpm-ivh "http://www.aminglinux.com/bbs/data/attachment/forum/month_1211/epel-release-6-7.noarch.rpm"
Yum Install-y libmcrypt-devel





Errors that occur when you install PHP

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.