From 0aa2eed313133d26ba2a96eb76d09fe7d1ebe287 Mon Sep 17 00:00:00 2001 From: xZero707 Date: Fri, 15 Aug 2025 18:19:24 +0200 Subject: [PATCH] Increase PHP memory limit --- build/patch-util/rootfs/wp/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/patch-util/rootfs/wp/entrypoint.sh b/build/patch-util/rootfs/wp/entrypoint.sh index b8bea8a..40a8b85 100755 --- a/build/patch-util/rootfs/wp/entrypoint.sh +++ b/build/patch-util/rootfs/wp/entrypoint.sh @@ -6,7 +6,7 @@ echo "> Downloading WordPress ${WP_VERSION} ..." WP_SHORT_VERSION=$(echo "${WP_VERSION}" | sed --expression='s/.0$//g'); echo "> Short Version: ${WP_SHORT_VERSION}" -wp --allow-root --path="/tmp" core download --locale="${WP_LOCALE}" --version="${WP_SHORT_VERSION}" +php -d "memory_limit=512M" /usr/local/bin/wp --allow-root --path="/tmp" core download --locale="${WP_LOCALE}" --version="${WP_SHORT_VERSION}" if [ ! -f "/tmp/wp-admin/update-core.php" ]; then echo "X WordPress download failed"