GD extension allows to create and manipulate different format image files. This extension provides functions like image resizing, cropping, rotating, etc.
Since PHP 8.0, GD extension has been renamed on Windows. DLL file name has been changed from
If you are migrating from PHP 7 to PHP 8 and just copy
php.ini file without doing any changes you will get an warning during PHP startup. Make sure that
php.ini file contains a line
extension=gd instead of
extension=gd2 in PHP 8.0 or newer versions.
On Linux, GD extension name is
gd.so and it hasn’t changed.