This article mainly introduces the steps on how to open the gd2 library of php. It has a very good reference value. Let’s take a look at it with the editor.
Step one: Find php.ini
Usually, the file is in PHP installation directory, if you forget the path, you can check it on the web service software you are using.
Step 2: Open the file with Notepad, press "ctrl+F" and enter "extension=php_gd2.dll" and press Enter. (See Figure 1)
Step 3: Remove the semicolon at the beginning of the sentence (Picture 2)
The PHP version I use: 5.6.19
The above is a detailed explanation of how to open the gd2 library of php. For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!