The GD library is not supported. how can this problem be solved?

Source: Internet
Author: User
The GD library is not supported. what should I do? Php5.2.5 is installed locally, and the GD Library is installed and enabled. However, the test script is displayed as follows: GD support is no... The backend verification code cannot be displayed.... check if the php. ini location is correct and what system is used. Window is found in php. ini; extension = php_gd2 GD library is not supported. what should I do?
Php5.2.5 is installed locally, and the GD Library is installed and enabled. However, the test script is displayed as follows: GD support is no... The background verification code cannot be displayed...

------ Solution --------------------
Check whether the php. ini location is correct
------ Solution --------------------
System. Window is found in php. ini

; Extension = php_gd2.dll

Remove the semicolon. Restart apache
------ Solution --------------------
1. in phpinfo (), check whether the path of the Loaded Configuration File is your modified php. ini.
2. check whether ";" is removed before extension = php_gd2.dll in php. ini.
3. restart IIS and check again whether GD Support is enabled in phpinfo.
------ Solution --------------------
Solution:
Set the system variable PHPRC to the path where php. ini is located.

The details are as follows:
PHP directory is D:/host, and php. ini is also located in this directory. The operation is as follows: My computer-right-click-property-advanced-environment variable-system variable-new-> variable name: PHPRC variable value: D: \ host-> restart the server, OK!

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.