From a3fd08efa920adc48f0ad2468dd835bb50f20000 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Wed, 8 Nov 2023 10:16:43 -0500 Subject: [PATCH] Docker: Increase PHP memory limit (#34017) Some wp-cli calls, including in the Post-Build CI workflow, are starting to hit the old limit. Let's increase it. --- .../changelog/update-docker-php-memory-limit | 5 +++++ .../plugins/jetpack/changelog/update-docker-php-memory-limit | 5 +++++ .../mu-wpcom-plugin/changelog/update-docker-php-memory-limit | 5 +++++ tools/docker/config/php.ini | 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 projects/packages/jetpack-mu-wpcom/changelog/update-docker-php-memory-limit create mode 100644 projects/plugins/jetpack/changelog/update-docker-php-memory-limit create mode 100644 projects/plugins/mu-wpcom-plugin/changelog/update-docker-php-memory-limit diff --git a/projects/packages/jetpack-mu-wpcom/changelog/update-docker-php-memory-limit b/projects/packages/jetpack-mu-wpcom/changelog/update-docker-php-memory-limit new file mode 100644 index 0000000000000..fe7e3acc72374 --- /dev/null +++ b/projects/packages/jetpack-mu-wpcom/changelog/update-docker-php-memory-limit @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Bump version + + diff --git a/projects/plugins/jetpack/changelog/update-docker-php-memory-limit b/projects/plugins/jetpack/changelog/update-docker-php-memory-limit new file mode 100644 index 0000000000000..cb6df7dbef427 --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-docker-php-memory-limit @@ -0,0 +1,5 @@ +Significance: patch +Type: other +Comment: Bump version + + diff --git a/projects/plugins/mu-wpcom-plugin/changelog/update-docker-php-memory-limit b/projects/plugins/mu-wpcom-plugin/changelog/update-docker-php-memory-limit new file mode 100644 index 0000000000000..9aa70e3ec1f75 --- /dev/null +++ b/projects/plugins/mu-wpcom-plugin/changelog/update-docker-php-memory-limit @@ -0,0 +1,5 @@ +Significance: patch +Type: changed +Comment: Updated composer.lock. + + diff --git a/tools/docker/config/php.ini b/tools/docker/config/php.ini index 39748ff7c3a82..7ae4d5b65753c 100644 --- a/tools/docker/config/php.ini +++ b/tools/docker/config/php.ini @@ -2,7 +2,7 @@ short_open_tag = Off session.auto_start = Off file_uploads = On -memory_limit = 64M +memory_limit = 128M upload_max_filesize = 64M post_max_size = 64M display_errors = On