GD Library does not support, how to deal with

Source: Internet
Author: User
GD Library does not support, how to do?
Locally installed php5.2.5, installed and opened the GD library, but the test script is still displayed as: GD support is no ... Background verification code can not display AH ...

------Solution--------------------
Check that the php.ini location is correct
------Solution--------------------
What system. Window is found under the php.ini.

; Extension=php_gd2.dll

Remove the front semicolon. Restart Apache
------Solution--------------------
1. Phpinfo () Look at the loaded Configuration File corresponding to the path is not the php.ini you modified.
2. Check the Extension=php_gd2.dll in front of the php.ini to see if the ";" is removed.
3. Restart IIS to see if GD support is enabled in Phpinfo ().
------Solution--------------------
Workaround:
Establish the system variable PHPRC, the value is the path of php.ini

Specific as follows:
The PHP directory is d:/host, and PHP.ini is also located in this directory, as follows: My Computer-right-properties-advanced-environment variable-system variable-new variable name: PHPRC variable value:d:\host-> restart 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.