Ask the big God to point out some of the libraries that Linux needs to install PHP.

Source: Internet
Author: User
Install PHP in a CentOS5.7 environment.
Before you need to install LIBXMLT2 and libxslt these two libraries. All are source package installation
LIBXMLT2 has been installed, but when the libxslt is loaded. Make the following error:

Ask the great God to teach ~~~~~


Reply to discussion (solution)

It's always been yum. Install Libxml2-devel
But never installed libxslt.

Obviously, it is the compatibility of LIBXML2 and zlib.
Zlib version is not correct, upgrade to 1.2.5 you try again.

Obviously, it is the compatibility of LIBXML2 and zlib.
Zlib version is not correct, upgrade to 1.2.5 you try again.

Well, it should be a zlib problem, but the version I'm using is relatively high.
I do it in libxslt./configure * * * * * * * * After adding--without-zlib there is no error. The load is normal.

  • 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.