Enable GD library support for CentOS in PHP

Source: Internet
Author: User
No GD Library, AKCMS will lose features --------------------------- GD Library affects AKCMS function list-image watermark-Thumbnail-verification code --------------------------- cause analysis these functions involving Image processing need the GD Library ### * File: include/image. func. php *-* Function: add does not have the GD library, and AKCMS will lose the Function.
-----------------------------
List of AKCMS functions affected by GD Library
-Image watermark
-Thumbnail
-Verification code
-----------------------------
Cause analysis

These image processing functions require the GD Library.

### * File: include/image. func. php *
-* Function: addwatermark ($ source, $ sourcesize = array ())*
-* Function: imagecreatefromfile ($ sourcefile, $ sourceinfo = array ())*


Enable GD library support for PHP in CentOS

CentOS system, which is installed with yum, as follows:
Yum install php-gd


After apache is restarted, gd is supported.



This problem occurs sometimes when DEDECMS is installed.

After the gd Library is installed, the problem is solved.
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.