In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "what is php extension gd". In daily operation, I believe many people have doubts about what php extension gd is. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "what is php extension gd?" Next, please follow the editor to study!
Php gd is an extended library for processing graphics in php. The GD library provides a series of API for processing pictures. You can use the GD library to process pictures or generate pictures.
This article operating environment: Windows7 system, PHP7.1 version, DELL G3 computer
What is the php extension gd?
GD library, is an extension of php graphics processing library, GD library provides a series of API for processing pictures, using the GD library can process pictures, or generate pictures.
On the website, the GD library is usually used to generate thumbnails, or to watermark pictures, or to generate Chinese character verification codes, or to generate reports for website data, and so on. In PHP processing images, you can use the GD library, while the GD library supports GIF at the beginning, but because GIF uses the copyright controversial LZW algorithm, which will cause legal problems, so all GIF support has been removed from the GD library version 1.6, but has been added back since the GD library version 2.0.28. GIF related functions are not available if you use a version of the GD library in between.
Installation and configuration
Editing
If it is a win server, it is relatively simple. The steps are as follows:
1. Use the dos command (or manually, copy all the dll files in the dlls folder to the system32 directory) copy c:\ php\ dlls\ * .dll c:\ windows\ system32\
two。 Open php.ini
Set extension_dir = "c:/php/extensions/"
3. On the "; extension=php_gd2.dll" line, remove the semicolon before extension, and if there is no php_gd2.dll,php_gd.dll, make sure that the file c:/php/extensions/php_gd2.dll.
Configuration method on linux server:
Yum install php-gd* # applies to 32bit operating system installation commands; yum install php-gd.x86_64 # applies to 64bit operating system installation commands; at this point, the study on "what is php extension gd" is over, hoping to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.