Home > Article > Backend Development > What should I do if php cannot load the gd library?
Solution to the problem that php cannot load the gd library: 1. Find and open the "php.ini" file; 2. Remove the semicolon in front of "extension=php_gd2.dll"; 3. Modify the ext directory. .
The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer
What should I do if php cannot load the gd library?
php5 opens the gd library, but it still does not open after opening the problem solution
1. Find and open the "php.ini" file
2. Remove the semicolon in front of extension=php_gd2.dll.
2. To modify the ext directory, the absolute path must be used, as shown in the figure below:
Recommended learning : "PHP Video Tutorial"
The above is the detailed content of What should I do if php cannot load the gd library?. For more information, please follow other related articles on the PHP Chinese website!