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 →

Grav installation on Azure App Service

Started by Nathan Graham 5 years ago · 1 replies · 1593 views
5 years ago

I am wanting to deploy the Grav CMS on an Azure App Service. I've followed the instructions given, but when attempting to run a Github actin to build and deploy I get the following error.

Your lock file does not contain a compatible set of packages. Please run composer update.

  • Problem 1*
    • getgrav/image is locked to version v3.0.0 and an update of this package was not requested.*
    • getgrav/image v3.0.0 requires ext-gd -> it is missing from your system. Install or enable PHP's gd extension.

To enable extensions, verify that they are enabled in your .ini files:

    • C:\tools\php\php.ini
      You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
      Alternatively, you can run Composer with --ignore-platform-req=ext-gd to temporarily ignore these required extensions.*

I've tried creating a new settings.ini file on the App Service that sets the PHP's gd extension, but that does not solve the issue. I am not very familiar with PHP and was hoping I could get some guidance on how to solve this please

last edited 01/25/22 by Nathan Graham

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by DrPen, 6 days ago
4 117 4 days ago
Installation & Hosting · by vollstock, 3 weeks ago
3 221 3 weeks ago
Installation & Hosting · by David, 7 years ago
3 3508 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
3 345 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
0 269 1 month ago