]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wordpress/resources/site.rb
wordpress: Set 128M memory limit as required by WPML
[chef.git] / 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