Skip to content
Snippets Groups Projects
Commit c675fa4b authored by Angie Byron's avatar Angie Byron
Browse files

#538032 by killes: Document variables that could help with PCRE memory becoming saturated.

parent eddf3373
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -220,6 +220,17 @@ ...@@ -220,6 +220,17 @@
*/ */
ini_set('session.cookie_lifetime', 2000000); ini_set('session.cookie_lifetime', 2000000);
/**
* If you encounter a situation where users post a large amount of text, and
* the result is stripped out upon viewing but can still be edited, Drupal's
* output filter may not have sufficient memory to process it. If you
* experience this issue, you may wish to uncomment the following two lines
* and increase the limits of these variables. For more information, see
* http://php.net/manual/en/pcre.configuration.php.
*/
# ini_set('pcre.backtrack_limit', 200000);
# ini_set('pcre.recursion_limit', 200000);
/** /**
* Drupal automatically generates a unique session cookie name for each site * Drupal automatically generates a unique session cookie name for each site
* based on on its full domain name. If you have multiple domains pointing at * based on on its full domain name. If you have multiple domains pointing at
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment