Home  >  Article  >  Backend Development  >  How to open PHP GD library under windows

How to open PHP GD library under windows

WBOY
WBOYOriginal
2016-07-25 08:55:151525browse
This article introduces how to open the php Gd library under Windows. The php GD library is an extension library for processing image files in PHP programming. It is very useful. Friends in need can refer to it.

Method 1, Depending on the PHP version, since the PHP5 decompression package used already contains the GD library, you only need to find "extension=php_gd2.dll" in php.ini Just remove the ";" in front.

Method 2, how to open the GD library in php Enter the GD library under wamp in the browser (otherwise the verification code may not work) Configuration file: D:lampphpphp.ini file

As shown below: How to open PHP GD library under windows

>>>> Articles you may be interested in: php GD library code to upload images and create thumbnails Example of php GD library generating verification code Example of php verification code (GD library generates verification code) Introduction to how to enable gd2 extension in php How to install php GD support library under Linux Example code for drawing 24-hour histogram using php GD library Example code for dynamically generating line charts with PHP GD library php thumbnail generation class (supports imagemagick and gd libraries) Enable PHP GD library support under Linux php opens the GD library (windows environment)



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn