Can't figure out how to install php-gd for PHP7 with yum
I followed this tutorial for upgrading my droplet with a LEMP stack to PHP7:
However, I’ve since realised that GD Library isn’t running, as it wasn’t included with the standard PHP installation. Testing it on a Wordpress install on my droplet, the image uploads, but no other sizes are created. I’ve since found this question:
…which details using
apt-get to install
php-gd for PHP7, but I can’t find anything that works for
yum. I am pretty new to server setups so I’m stumbling around in the dark a bit here.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×