Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

PHP GD is required but not installed

Started by Donny Bahama 3 years ago · 2 replies · 1768 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 TomW, 2 weeks ago
8 227 8 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago