-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Doc] Adding new PHP extensions #155 #7929
[Doc] Adding new PHP extensions #155 #7929
Conversation
…7810) * MCLOUD-6430: Xdebug not working on Magento Cloud Docker 1.1 * Update src/cloud/docker/docker-development-debug.md Co-authored-by: Barny Shergold <[email protected]> * Update src/cloud/docker/docker-development-debug.md Co-authored-by: Jeff Matthews <[email protected]> Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: Jeff Matthews <[email protected]>
* MCLOUD-6898: Add option to customize port for MailHog * MCLOUD-6660: Add option to disable MailHog * Update src/cloud/docker/docker-config.md Co-authored-by: Margaret Eker <[email protected]>
* MCLOUD-2789: [Cloud Docker] Add support for adding custom ES plugins from services.yaml file to the docker-compose.yml file. Co-authored-by: Margaret Eker <[email protected]>
An admin must run tests on this PR before it can be merged. |
src/cloud/docker/docker-extend.md
Outdated
'<extension name>' => [ // this name will be used to identify the extension among other PHP extensions. | ||
'<php version constraint>' => [ // for which PHP versions this config will apply | ||
self::EXTENSION_TYPE => self::EXTENSION_TYPE_CORE // or self::EXTENSION_TYPE_PECL | ||
self::EXTENSION_OS_DEPENDENCIES => ['<name dependency package 1>', <name dependency package 2>, ... ] // Linux packages, they will be installed in the order of indication before extantion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extantion - do you mean extension?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
For instance the following block adds the GNUPG extension: | ||
|
||
```php?start_inline=1 | ||
We have divided the extensions into three conditional groups: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to provide this information outside of the procedure after the sentence "In addition to built-in extensions..." on line 83.
We have divided the extensions into three conditional groups:
EXTENSION_TYPE_CORE
– Extension that exists in thedocker-php-source
. For details, see the How to instal more PHP extensions section of the PHP, Docker Official Images page in Docker Hub.
@arhiopterecs Are these documentation changes specific to changes in Docker targeted for the 1.2.0 release? If they are not dependent on the Docker release, please rebase this PR against the master branch. Thx. |
Co-authored-by: Barny Shergold <[email protected]>
Co-authored-by: Barny Shergold <[email protected]>
Co-authored-by: Barny Shergold <[email protected]>
Co-authored-by: Barny Shergold <[email protected]>
Co-authored-by: Barny Shergold <[email protected]>
Co-authored-by: Barny Shergold <[email protected]>
Co-authored-by: Margaret Eker <[email protected]>
Co-authored-by: Margaret Eker <[email protected]>
Co-authored-by: Margaret Eker <[email protected]>
Co-authored-by: Margaret Eker <[email protected]>
Co-authored-by: Margaret Eker <[email protected]>
Co-authored-by: Margaret Eker <[email protected]>
Co-authored-by: Margaret Eker <[email protected]>
Co-authored-by: Margaret Eker <[email protected]>
Co-authored-by: Barny Shergold <[email protected]>
Co-authored-by: Barny Shergold <[email protected]>
fd9250c
into
magento:mae-mcloud-6998-docker-php-customization-updates-integration
Hi @arhiopterecs, thank you for your contribution! |
…ions (#8145) * [Doc] Adding new PHP extensions #155 (#7929) * Clean up instructions for adding PHP extensions - Move extension configuration attribute descriptions and examples to a separate section * Fixed markdown syntax * Fix link definitions * Fix link syntax * Apply suggestions from code review Co-authored-by: Yevhen Miroshnychenko <[email protected]> Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: hguthrie <[email protected]>
…ions (#8145) * [Doc] Adding new PHP extensions #155 (#7929) * Clean up instructions for adding PHP extensions - Move extension configuration attribute descriptions and examples to a separate section * Fixed markdown syntax * Fix link definitions * Fix link syntax * Apply suggestions from code review Co-authored-by: Yevhen Miroshnychenko <[email protected]> Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: hguthrie <[email protected]>
* MCLOUD-6939: Errors occur running magento commands in composer cloud docker installation (#8007) * Added variable to skip composer dump-autoload command processing when deploying a Magento Cloud project to a Cloud Docker environment. * MCLOUD-7072: Add CLI command for generating .magento.env.yaml (#8040) * MCLOUD-7072: Add CLI commands for creating and updating .magento.env.yaml * Apply suggestions from code review Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: Margaret Eker <[email protected]> * MCLOUD-6805: ECE-Tools release notes WIP: updating variables * MCLOUD-6805: ECE-Tools release notes First draft * MCLOUD-6805: ECE-Tools release notes Fixed double slash on link * added links to two hot fixes * Update services-mysql.md (#8144) Co-authored-by: Margaret Eker <[email protected]> * Update Magento Cloud Docker instructions for adding custom PHP extensions (#8145) * [Doc] Adding new PHP extensions #155 (#7929) * Clean up instructions for adding PHP extensions - Move extension configuration attribute descriptions and examples to a separate section * Fixed markdown syntax * Fix link definitions * Fix link syntax * Apply suggestions from code review Co-authored-by: Yevhen Miroshnychenko <[email protected]> Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: hguthrie <[email protected]> * MCLOUD-6805: ECE-Tools release notes Updated entry for MCLOUD-7098 * MCLOUD-6805: ECE-Tools release notes Fixed merge conflicts * Added docs for SKIP_COMPOSER_DUMP_AUTOLOAD * Apply suggestions from code review Co-authored-by: Margaret Eker <[email protected]> * MCLOUD-6805: ECE-Tools release notes Added release notes entry for #7191 * Update error-codes information with current info (#8152) * Update error-codes information with current info - Replaced file with error-code.md file generated from the ece-tools package * Fixed error messages * Add source file for generating the error code ref Co-authored-by: Barny Shergold <[email protected]> * Fixed comment syntax on internal note * MCLOUD-6805: ECE-Tools release notes Added release not for MCLOUD-7193 * MCLOUD-6805: ECE-Tools release notes Fixed silly empty bullet * MCLOUD-6805: ECE-Tools release notes Per review, updated additional ece-tools docs changes that are unassociated with the release notes. * MCLOUD-6805: ECE-Tools release notes Per review, removed extra space from yaml code block. * MCLOUD-6805: ECE-Tools release notes Per review, tweaking the wording for writeable Cloud Docker environments. * MCLOUD-6805: ECE-Tools release notes Per review, forgot to clarify the pronoun that. * MCLOUD-6805: ECE-Tools release notes Per review, removed extra space, missed it first time around. * MCLOUD-6805: ECE-Tools release notes Ordered 'new' release note before fixed * MCLOUD-6805: ECE-Tools release notes Added links to documentation. * MCLOUD-6805: ECE-Tools release notes Added links to documentation. * Apply suggestions from code review Co-authored-by: Margaret Eker <[email protected]> Co-authored-by: Oleksandr Shmyheliuk <[email protected]> Co-authored-by: maeker12 <{ID}+{username}@users.noreply.github.com> Co-authored-by: jfrontain <[email protected]> Co-authored-by: Andrii Shevtsov <[email protected]> Co-authored-by: Margaret Eker <[email protected]> Co-authored-by: Yevhen Miroshnychenko <[email protected]> Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: hguthrie <[email protected]>
* ECE-Tools 2002.1.3 docs and release notes (#8161) * MCLOUD-6939: Errors occur running magento commands in composer cloud docker installation (#8007) * Added variable to skip composer dump-autoload command processing when deploying a Magento Cloud project to a Cloud Docker environment. * MCLOUD-7072: Add CLI command for generating .magento.env.yaml (#8040) * MCLOUD-7072: Add CLI commands for creating and updating .magento.env.yaml * Apply suggestions from code review Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: Margaret Eker <[email protected]> * MCLOUD-6805: ECE-Tools release notes WIP: updating variables * MCLOUD-6805: ECE-Tools release notes First draft * MCLOUD-6805: ECE-Tools release notes Fixed double slash on link * added links to two hot fixes * Update services-mysql.md (#8051 * Update Magento Cloud Docker instructions for adding custom PHP extensions (#8145) * [Doc] Adding new PHP extensions #155 (#7929) * Clean up instructions for adding PHP extensions - Move extension configuration attribute descriptions and examples to a separate section * Fixed markdown syntax * Fix link definitions * Fix link syntax * Apply suggestions from code review Co-authored-by: Yevhen Miroshnychenko <[email protected]> Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: hguthrie <[email protected]> * MCLOUD-6805: ECE-Tools release notes Updated entry for MCLOUD-7098 * MCLOUD-6805: ECE-Tools release notes Fixed merge conflicts * Added docs for SKIP_COMPOSER_DUMP_AUTOLOAD * Apply suggestions from code review Co-authored-by: Margaret Eker <[email protected]> * MCLOUD-6805: ECE-Tools release notes Added release notes entry for #7191 * Update error-codes information with current info (#8152) * Update error-codes information with current info - Replaced file with error-code.md file generated from the ece-tools package * Fixed error messages * Add source file for generating the error code ref Co-authored-by: Barny Shergold <[email protected]> * Fixed comment syntax on internal note * MCLOUD-6805: ECE-Tools release notes Added release not for MCLOUD-7193 * MCLOUD-6805: ECE-Tools release notes Fixed silly empty bullet * MCLOUD-6805: ECE-Tools release notes Per review, updated additional ece-tools docs changes that are unassociated with the release notes. * MCLOUD-6805: ECE-Tools release notes Per review, removed extra space from yaml code block. * MCLOUD-6805: ECE-Tools release notes Per review, tweaking the wording for writeable Cloud Docker environments. * MCLOUD-6805: ECE-Tools release notes Per review, forgot to clarify the pronoun that. * MCLOUD-6805: ECE-Tools release notes Per review, removed extra space, missed it first time around. * MCLOUD-6805: ECE-Tools release notes Ordered 'new' release note before fixed * MCLOUD-6805: ECE-Tools release notes Added links to documentation. * MCLOUD-6805: ECE-Tools release notes Added links to documentation. * Apply suggestions from code review * Cloud Docker 1.2.0 Release (#8199) * MCLOUD-6430: Xdebug not working on Magento Cloud Docker 1.1 (#7810) * Update src/cloud/docker/docker-development-debug.md * MCLOUD-6898: Add option to customize port for MailHog (#7860) * MCLOUD-6898: Add option to customize port for MailHog * MCLOUD-6660: Add option to disable MailHog * Update src/cloud/docker/docker-config.md * MCLOUD-2789: [Cloud Docker] Add custom ES plugins (#7898) * MCLOUD-2789: [Cloud Docker] Add support for adding custom ES plugins from services.yaml file to the docker-compose.yml file. * MCLOUD-6394: Help with running MFTF test generation commands (#7995) * MCLOUD-6394: Help with running MFTF test generation commands * Added `--with-test` option to `build:compose` option list * Update src/cloud/docker/docker-containers.md - Added test container * Update src/cloud/docker/docker-containers-service.md Added `--with-test` option to `build:compose` option list * Update Docker command help (#8197) * Updated Docker Quick reference - Addedd new options to the magento-docker CLI - Added listing that shows all available options for ece-docker build:compose command - Added intro to Docker Compose section * Updates for Cloud Docker 1.2.0 release (#8198) * MCLOUD-7809 Added instructions for building custom docker-compose.yaml file * Improved instructions for using the init-docker.sh installation script * Updates based on review feedback * Updated Launch developer mode instructions to add step to apply patches before deploying to a Magento Cloud Docker environment Co-authored-by: Oleksandr Shmyheliuk <[email protected]> Co-authored-by: Andrii Shevtsov <[email protected]> Co-authored-by: Margaret Eker <[email protected]> Co-authored-by: Yevhen Miroshnychenko <[email protected]> Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: hguthrie <[email protected]> Co-authored-by: Jeff Matthews <[email protected]> Co-authored-by: Bohdan Korablov <[email protected]>
Purpose of this pull request
Added more extensive documentation for adding PHP extensions into the PHP images of Magento Cloud Docker
And small fixes
Affected DevDocs pages
whatsnew
Provided additional information about adding PHP extensions to Magento Cloud Docker by installing from PHP or PECL packages or by using an installation script. See Add a new PHP extension in the Cloud Guide.