nerdexam
Adobe

AD0-E724 · Question #49

A developer is working on an Adobe Commerce on cloud infrastructure project and needs to install a new PHP extension required by a third-party module. Which configuration file must be modified to add

The correct answer is D. '.magento.app.yaml'. .magento.app.yaml is the correct file because it defines the application's build and runtime configuration for Adobe Commerce Cloud, including the runtime.extensions block where you declare PHP extensions to enable (e.g., - name: redis). php.ini can override PHP settings but cann

Setup and Configuration

Question

A developer is working on an Adobe Commerce on cloud infrastructure project and needs to install a new PHP extension required by a third-party module. Which configuration file must be modified to add or enable a specific PHP extension for the cloud environment?

Options

  • A'php.ini'
  • B'composer.json'
  • C'.magento/services.yaml'
  • D'.magento.app.yaml'

How the community answered

(27 responses)
  • A
    11% (3)
  • B
    4% (1)
  • C
    7% (2)
  • D
    78% (21)

Explanation

.magento.app.yaml is the correct file because it defines the application's build and runtime configuration for Adobe Commerce Cloud, including the runtime.extensions block where you declare PHP extensions to enable (e.g., - name: redis). php.ini can override PHP settings but cannot install or enable extensions in the cloud environment - extension activation is controlled at the infrastructure level, not through ini directives. composer.json manages PHP package dependencies, not server-level PHP extensions. .magento/services.yaml provisions cloud services like MySQL, Redis, or Elasticsearch, which are separate infrastructure components rather than PHP runtime extensions.

Memory tip: Think of .magento.app.yaml as your app's "blueprint" - it controls everything about how your application runs, including which PHP extensions the runtime needs. If it affects the PHP process itself, it lives in .magento.app.yaml.

Topics

#.magento.app.yaml#PHP extension#cloud infrastructure#configuration

Community Discussion

No community discussion yet for this question.

Full AD0-E724 Practice