I'm trying to deploy a Drupal 8 application where the project root includes the composer.json, app.yaml, and php.ini, while the web doc root is `/web`
`composer install` errors with "The requested PHP extension ext-gd * is missing from your system. Install or enable PHP's gd extension"
`gcloud app deloy` errors with "Your application does not satisfy all of the requirements for a runtime of type [php72]"
my app.yaml:
runtime: php72env: flexentrypoint: serve web/index.phpruntime_config: document_root: web front_controller_file: web/index.phpenv_variables: DB_DATABASE: xxx DB_USERNAME: xxx DB_PASSWORD: "xxx" DB_SOCKET: "/cloudsql/projectname:region:instancename"beta_settings: cloud_sql_instances: "projectname:region:instancename"handlers:- url: /sites/default/files
static_dir: /sites/default/files
- url: /(.+\.(gif|png|jpg))$ static_files: \1 upload: .+\.(gif|png|jpg)$
for composer i ran:
composer require "ext-gd:*" --ignore-platform-reqs
my php.ini
output_buffering = "1"extension=gd.soextension=curl.soextension=imagick.so