Linux system Installation php5.5.6 time, the hint is missing libxml2.config

Source: Internet
Author: User
Title, but libxml2 I have already installed, and in the directory can be found, did not play under the Linux system, now the project needs, forget the big God aid ...


Reply to discussion (solution)

Hurting the Linux ...

Reinstall the LIBXML2 and Libxml2-devel packages
Yum Install LIBXML2
Yum Install Libxml2-devel-y
Find out if the Xml2-config file exists after installation
[Root@test31 php-5.4.1]# Find/-name "Xml2-config"
/usr/bin/xml2-config

Reinstall the LIBXML2 and Libxml2-devel packages
Yum Install LIBXML2
Yum Install Libxml2-devel-y
Find out if the Xml2-config file exists after installation
[Root@test31 php-5.4.1]# Find/-name "Xml2-config"
/usr/bin/xml2-config
This problem has been fixed, but restarting Apache, still can't parse PHP file

Study. Just doing lunix!.

Use Phpinfo ();


Look, it's loaded, No.

Under command line: Php-m can also


Reinstall the LIBXML2 and Libxml2-devel packages
Yum Install LIBXML2
Yum Install Libxml2-devel-y
Find out if the Xml2-config file exists after installation
[Root@test31 php-5.4.1]# Find/-name "Xml2-config"
/usr/bin/xml2-config
This problem has been fixed, but restarting Apache, still can't parse PHP file
That's the problem with Apache and PHP configuration.

PHP and the corresponding modules need to be loaded as well as under Windows


Use Phpinfo ();


See the load on the no [/quote
is Phpinfo () can't come out ....

Anyway, the boss has come out, I will knot bar ...

  • Related Article

    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.