How do I install GD on my windows server version of PHP
Check php_gd2.dll
is in your extension directory and uncomment ;extension=php_gd2.dll
of your php.ini
.
After PHP 8.0, GD extension name changed from php_gd2.dll to php_gd.dll
extension=php_gd.dll
https://php.watch/versions/8.0/gd2-gd-windows
It was in my c:\xampp\php\php.ini
;extension=gd
This was commented out as you can see, removing ; and restarting apache server fixed my problem.
You need to edit your php.ini (found in your C:/PHP folder if you installed PHP here). Add the following line (or remove the ; before it if it exists in there):
extension=php_gd2.dll