P粉1708586782023-08-28 12:47:38
If you are using a Linux computer, execute this command from the console:
sudo apt-get install php5-gd
Install the php_gd2.dll extension. It will start working after Apache is restarted.
PS: You should first check your current php version
php -v
As for me:
So, my PHP version is 7.3, so, the command for my version is:
sudo apt-get install php7.3-gd
P粉7386761862023-08-28 10:47:38
This means that your installation of php does not have the gd library installed/enabled.
http://www.php.net/manual/en/image. install.php