A Wordpress installation I am working on, for some images, is giving an error, "GD Library Error: imagecreatetruecolor does not exist - please contact your webhost and ask them to install the GD library".
How can I install and/or connect the GD Library, on an Ubuntu server, so that Wordpress sees what it needs to display these images?
Thanks,
Install gd:
And verify:
That should do the trick!
Install php GD module:
sudo apt-get install php5-gd
For PHP 7.0 use
The right way to do this is to find the version of PHP you are using and then install that version of GD:
I'm running PHP 7.3 so I check apt: