]> git.openstreetmap.org Git - chef.git/commitdiff
wordpress: Set 128M memory limit as required by WPML
authorGrant Slater <github@firefishy.com>
Mon, 5 Jun 2023 06:36:36 +0000 (09:36 +0300)
committerGrant Slater <github@firefishy.com>
Mon, 5 Jun 2023 06:37:05 +0000 (09:37 +0300)
Signed-off-by: Grant Slater <github@firefishy.com>
cookbooks/wordpress/resources/site.rb

index 0fcad6509f47883aeecb8d1d92998c7ed4962b68..393c47578101213ed8ca9baf94cd65d7fac0a04d 100644 (file)
@@ -104,6 +104,7 @@ action :create do
       line += "define( 'FORCE_SSL_ADMIN', true);\r\n"
       line += "define( 'WP_FAIL2BAN_SITE_HEALTH_SKIP_FILTERS', true);\r\n"
       line += "define( 'WP_ENVIRONMENT_TYPE', 'production');\r\n"
+      line += "define( 'WP_MEMORY_LIMIT', '128M');\r\n"
     end
 
     line