In the linux-CentOS6.6 yum install PHP gd library failed?

Source: Internet
Author: User
CentOS6.6 yum install PHP default version 5.3, in order to install a higher PHP version, use custom yum Source: remi source, enable remi-php56, when installing php-gd extension error: error: Package: php-gd-5.6.11-1.el6.remi.x86_64 (remi-php56) Requir... centOS6.6 yum install PHP default version 5.3, in order to install a higher PHP version, use custom yum Source: remi source, enable remi-php56, when installing php-gd extension error:
Error: Package: php-gd-5.6.11-1.el6.remi.x86_64 (remi-php56) Requires: gd-last(x86-64) >= 2.1.1Error: Package: php-gd-5.6.11-1.el6.remi.x86_64 (remi-php56) Requires: libgd.so.3()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

Install other extensions, such as php-mysql and php-redis.

Disable the remi source and run yum install php-gd with a try. As predicted, an error is returned because the PHP version installed is 5.6.10, currently, the default yum version is php5.3.

Reply content:

CentOS6.6 yum install PHP default version 5.3, in order to install a higher PHP version, use custom yum Source: remi source, enable remi-php56, when installing php-gd extension error:
Error: Package: php-gd-5.6.11-1.el6.remi.x86_64 (remi-php56) Requires: gd-last(x86-64) >= 2.1.1Error: Package: php-gd-5.6.11-1.el6.remi.x86_64 (remi-php56) Requires: libgd.so.3()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

Install other extensions, such as php-mysql and php-redis.

Disable the remi source and run yum install php-gd with a try. As predicted, an error is returned because the PHP version installed is 5.6.10, currently, the default yum version is php5.3.

Yum install php-gd -- skip-broken
Run the command.

The yum source does not match the yum source and system version.
Yum clean all
Rpm -- rebuilddb
Yum update
Or use another yum source.

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.