terraform-aws-serverless-static-wordpress icon indicating copy to clipboard operation
terraform-aws-serverless-static-wordpress copied to clipboard

Configure WP_MEMORY_LIMIT

Open petewilcock opened this issue 3 years ago • 2 comments

petewilcock avatar Jun 25 '21 20:06 petewilcock

Looks like WORDPRESS_CONFIG_EXTRA is the solution here.

petewilcock avatar Jun 26 '21 17:06 petewilcock

Turns out WP_CONFIG_EXTRA sucks because it doesn't handle the case where a wp-config.php already exists (so pretty much every single time we run the container). Solution instead is to use wp cli to set on container start as part of entrypoint.

petewilcock avatar Apr 05 '22 20:04 petewilcock