You can choose which version of PHP to run in your
1 2 name: mymagento type: php:<version>
You can enable or disable PHP extensions in the
runtime:extension section. Also, the extensions specified become available in the Docker PHP containers.
1 2 3 4 5 6 7 8 9 10 runtime: extensions: - sockets - sodium - ssh2 disabled_extensions: - bcmath - bz2 - calendar - exif
Use SSH to log in to an environment and list the PHP extensions.
1 php -m
For details about a specific PHP extension, see the PHP Extension List.
The following table shows the supported PHP extensions when deploying Adobe Commerce on the Cloud platform.
|Default extensions||Installed extensions
that cannot be uninstalled
|Extensions that can be installed
and uninstalled as needed
PHP module requirements are tied to the Adobe Commerce version. See PHP requirements.
PHP compiled with debug is not supported and the Probe may conflict with XDebug or XHProf. Disable those extensions when enabling the Probe. The Probe conflicts with some PHP extensions like Pinba or IonCube.
Custom PHP configuration
You can customize the PHP settings for a Cloud environment by adding a
php.ini file to your project. See Customize PHP.INI.