Php: Enabling the GD Library (in windows)

Source: Internet
Author: User
Tags php introduction
Php: Enabling the GD Library (in windows)

  1. If (extension_loaded ('gd ')){
  2. Echo 'gd can be used
    ';
  3. Foreach (gd_info () as $ cate => $ value)
  4. Echo "$ cate: $ value
    ";
  5. } Else
  6. Echo 'The gd extension' is not installed ';
  7. ?>

The result is displayed as follows:

GdGD Version: bundled (2.0.34 compatible) FreeType Support: 1 FreeType Linkage: with freetypeT1Lib Support: 1GIF Read Support: 1GIF Create Support: 1JPG Support: 1PNG Support: 1 WBMP Support: 1XPM Support: XBM Support: 1JIS-mapped Japanese Font Support:

If any problem occurs, the Configure Command is displayed as follows:

1 cscript/nologo configure. js "-- enable-snapshot-build" "-- disable-isapi" "-- enable-debug-pack" "-- without-mssql" "-- without-pdo-mssql" -- without-pi3web "" -- with-pdo-oci = C: php-sdkoracleinstantclient10sdk, shared "" -- with-oci8 = C: php-sdkoracleinstantclient10sdk, shared "" -- with-oci8-11g = C: php-sdkoracleinstantclient11sdk, shared "" -- enable-object-out-dir = .. /obj/"" -- enable-com-dotnet = shared "" -- with-mcrypt = static "" -- disable-static-analyze "" -- with-pgo"

Possible causes: 1. permission issues; 2. dual-channel problems, or hardware looseness.

>>> Articles you may be interested in: php GD Library Upload image and create thumbnail code php GD Library generate verification code instance php GD library Chinese garbled solution php verification code (GD Library generate verification code) example: How to enable gd2 extension in php introduction how to install php GD support Library in linux php GD library example code for drawing a 24-hour bar chart php gd Library dynamic generation of line chart instance code php thumbnail generate class (supports imagemagick and gd libraries)

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.