PHP Open GD Library (Windows environment)

Source: Internet
Author: User
Tags mssql
    1. if (extension_loaded (' GD ')) {
    2. Echo ' can use GD
      ';
    3. foreach (Gd_info () as $cate = = $value)
    4. echo "$cate: $value
      ";
    5. }else
    6. Echo ' did not install GD extension ';
    7. ?>
Copy Code

The results are shown as:

You can use GDGD version:bundled (2.0.34 compatible) FreeType support:1freetype linkage:with freetypet1lib support:1gif Read Su Pport:1gif Create support:1jpg support:1png support:1wbmp support:1xpm support:xbm support:1jis-mapped Japanese Fon T support:

If there is a problem, Configure Command displays:

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, permissions issues, 2, dual channel whether there is a problem, or whether the hardware is loose and so on.

>>> you may be interested in the article: PHP gd library upload pictures and create thumbnails of code PHP GD library generated verification Code instance PHP GD library Chinese garbled Solution PHP Verification code (GD library generated verification code) Example PHP to open the GD2 extension method to introduce the method of installing PHP GD support library under Linux PHP GD library drawing 24-hour Histogram instance code PHP GD library Dynamic Generation Line chart Instance code PHP thumbnail generation class (support ImageMagick and GD library)

  • 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.