Problem installing php-5.3.28

Source: Internet
Author: User
Problem 1: configure: error: php-5.3.28 not ffound. please check your libxm12 installation when installing xm12-config

[Root @ rh-linux/] # yum install libxml2-devel-y

Find the xml2-config file after installation

[Root @ rh-linux/] # find/-name "xml2-config"

/Usr/bin/xml2-config

Reinstall php if any

[Root @ rh-linux php-5.4.3] #./configure

[Root @ rh-linux php-5.4.3] # make

[Root @ rh-linux php-5.4.3] # make install

After installing php, do not forget to configure the php. ini file,

# Cp php. ini-production/usr/local/lib/php. ini

You can also add a compilation parameter -- with-config-file-path =/usr/local/php/etc to make install to specify your php. ini path and cp from the source code to php. the ini source code contains php. ini-development and php. ini-production if the latter is not selected for local debugging mode

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.