Source Code installation PHP

Source: Internet
Author: User

1) system environment: CentOS6.6;

2) PHP Package: Php-5.4.35.tar, Php-5.5.19.tar;

3) Task: Source code package mode installation;

4) problem: In the configuration of two "PHP" package version, can not make, to exclude the source code problems;

5) solve: Because of the configuration environment, rely on the library files, through the Yum source installation libxml2, libxml2-devel solve the problem;

6) The installation process is as follows:

[[email protected] tools] #tar php-5.4.35.tar.gz

[Email protected] Php-5.4.35]#./configure

.....................................

Configure:error:xml2-config not found. Please checkyour LIBXML2 installation.

[[email protected] php-5.4.35]# make

Make: * * does not specify the target and cannot find the makefile. Stop it. The reason for this error is that the library file is missing primarily

[[email protected]] Yum Install libxml2

[Email protected] Php-5.4.35]yum install Libxml2-devel–y

After installing the library file through the above Yum source, the next make and Makeinstall are installed.


This article is from the "Operations" blog, please be sure to keep this source http://sky9896.blog.51cto.com/2330653/1591386

Source Code installation 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.