CentOS Installation PHP extension DOM\GD

Source: Internet
Author: User

Question 1:

Using the Yum install PHP-GD, you can determine the image used (http://mirrors.163.com), but the download times are wrong.

Answer: Use Yum to install the most worry--------dependencies automatically. Now look, the workaround is to download the package to local according to the download RPM package path given.

Upload to the server and use Rpm-i for installation.

Question 2:

Use rpm-i libjpeg-turbo-1.2.1-3.el6_5.i686.rpm times wrong, very local some file conflicts.

Workaround: The error is caused by the previous installation of Libjpeg, directly using-I for installation, and the old version of the conflict. The issue is resolved by changing the upgrade installation using the Rpm-u command.

Note 1:

Use php-m to see which PHP extensions are installed.

CentOS Installation PHP extension DOM\GD

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.