PHP is currently in the field of web development has been widely used, PHP can not only generate HTML pages, but also can create and manipulate binary forms of data, like, files and so on. The use of PHP operation graphics can be achieved through
Using the GD2 Library in php to create images cannot be displayed in the browser. I just learned PHP and cannot display images in the browser when using the GD2 library to create images, there is only one icon that represents the image. my code is
How does php enable gd2 extension php after How to enable the gd2 extension standard to install apache and php? if you need the support of the gd Library, just execute the following command: apt-getinstallphp5-gd to find the php configuration file
How to open GD2 extensions in PHP
How to open GD2 extensions in PHP
After the standard installation of Apache and PHP, if you need the GD library support, just execute the following command is OK:
Apt-get Install PHP5-GD
Find the PHP
Extension=php_gd2.dll
Copy CodeFind the PHP configuration file php.ini, search Extension=php_gd2.dll, remove the previous semicolon, if not, please add directly. This situation is suitable for Windows system and compile-time support for GD PHP,
This article mainly describes how to open the PHP gd2 Library step method. Have a good reference value, follow the small series together to see it
First step: Find PHP.ini
Usually, this file is in the PHP installation directory, if you forget the
Extension = php_gd2.dll
Find the PHP configuration file PHP. ini, search for extension = php_gd2.dll, and remove the semicolon;If this is not directly added, it is applicable to the Windows system and PHP that supports GD during compilation. Just
How to open the php gd2 Library and the phpgd2 Library
Step 1: Find php. ini
Generally, this file is in the php installation directory. If you forget the path, you can query it on the web service software you are using.
Step 2: open the file in
IIS6 + PHP best configuration method. The multi-script support server is now used by more and more people. If you want to set up a server that supports both php (as the mainstream development language), ASP, and asp.net (the most powerful
The multi-script support server is now used by more and more people. If you want to set up a platform that supports both php (as the mainstream development language), ASP, asp.net (the most powerful development language of Microsoft), and jsp (the
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.