Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

PHP GD is required but not installed

Started by Donny Bahama 3 years ago · 2 replies · 1301 views
3 years ago

Just starting Grav for the first time and I get the Grav Problems page. The first item is PHP GD. I tried installing it with
apt-get install php7.4-gd
But it says the there’s no release candidate for php7.4-gd

3 years ago

Additional info: I tried uncommenting the gd2 extension line in php.ini (not that there actually WAS a php.ini but I copied php.ini-production to php.ini and edited that). I also found a deb file for php7.4-gd. Running that gave me more info - there were 4 dependencies that were unmet. Some of these also had unmet dependencies and apt-get install didn’t work - I had to find .deb files for most of them. In the end, I got tripped up by php7.4-common. The only deb file I could find for it was slightly too new and therefore php7.4-gd wouldn’t install.

This SUCKS. Unless anyone has any ideas, I think I’m just going to start over with a different php docker image. Can someone recommend a good one that’s a little more complete with the pre installed modules?

Suggested topics

Topic Participants Replies Views Activity
Support · by Paul Hodges, 6 days ago
13 219 6 hours ago
Support · by gtx, 4 days ago
2 127 3 days ago
Support · by Anna, 2 weeks ago
9 300 3 days ago
Support · by TomW, 1 week ago
4 165 6 days ago
Support · by Anna, 1 week ago
4 172 7 days ago