Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Grav installation on Azure App Service

Started by Nathan Graham 5 years ago · 1 replies · 1461 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 motorambler, 2 months ago
9 702 3 weeks ago
Installation & Hosting · by jeremycherfas, 1 month ago
1 345 1 month ago
Installation & Hosting · by antoinep, 4 months ago
8 1177 4 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 817 10 months ago
Installation & Hosting · by rappluk, 12 months ago
0 846 12 months ago