Answers.Body: <p>Can you ask your host about raising php's memory_limit setting to at least 128MB. 32MB is below the current recommended minimum for CiviCRM of 256MB (see <a href="https://docs.civicrm.org/sysadmin/en/latest/requirements/#php-configuration" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/requirements/#php-configuration</a>), and the absolute minimum value used in the configuration file that calls ini_set() is currently 128MB (see <a href="https://github.com/civicrm/civicrm-core/blob/5.17.0/templates/CRM/common/civicrm.settings.php.template#L540" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/5.17.0/templates/CRM/common/civicrm.settings.php.template#L540</a>)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-10T00:28:56.053Z
Answers.Text: thank you. that did it!
Answers.UserDisplayName: gchinola
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-10T00:36:42.600Z
Answers.Text: Great! . . . . .
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-08T04:03:47.607Z
Answers.LastActivityDate: 2019-09-08T04:03:47.607Z
Answers.UserDisplayName: Demerit
Body: <p>A recent security update from our host has resulted in cron throwing out the following errors: </p>
  
  <blockquote>
    <p>PHP Warning:  ini_set() has been disabled for security reasons in /.../public_html/wp-content/plugins/civicrm/civicrm/vendor/symfony/config/ResourceCheckerConfigCache.php on line 84
    PHP Warning:  ini_set() has been disabled for security reasons in /.../public_html/wp-content/plugins/civicrm/civicrm/vendor/symfony/config/ResourceCheckerConfigCache.php on line 99
    PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 2359296 bytes) in /.../wp-content/plugins/classic-editor/classic-editor.php on line 631</p>
  </blockquote>
  
  <p>We have been asked to find a workaround rather than reducing security on the server. I've searched around and not found any posts with similar issues so I'm not sure where to start. Any direction would be appreciated.</p>
  
Tags: <wordpress><cron><security>
Title: Server Security Update Breaks Cron
ThreadText: # Server Security Update Breaks Cron
  
  (Asked by: username_0 on 2019-09-07)
  
  A recent security update from our host has resulted in cron throwing out the following errors:
  
  > PHP Warning: ini\_set() has been disabled for security reasons in /.../public\_html/wp-content/plugins/civicrm/civicrm/vendor/symfony/config/ResourceCheckerConfigCache.php on line 84
  > PHP Warning: ini\_set() has been disabled for security reasons in /.../public\_html/wp-content/plugins/civicrm/civicrm/vendor/symfony/config/ResourceCheckerConfigCache.php on line 99
  > PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2359296 bytes) in /.../wp-content/plugins/classic-editor/classic-editor.php on line 631
  
  We have been asked to find a workaround rather than reducing security on the server. I've searched around and not found any posts with similar issues so I'm not sure where to start. Any direction would be appreciated.
  
  **Tags:** wordpress, cron, security
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-09-08. Score: 2 | Accepted answer
  
  Can you ask your host about raising php's memory\_limit setting to at least 128MB. 32MB is below the current recommended minimum for CiviCRM of 256MB (see <https://docs.civicrm.org/sysadmin/en/latest/requirements/#php-configuration>), and the absolute minimum value used in the configuration file that calls ini\_set() is currently 128MB (see <https://github.com/civicrm/civicrm-core/blob/5.17.0/templates/CRM/common/civicrm.settings.php.template#L540>)
  
  > **Comments:**
  > **username_0**: thank you. that did it!  
  > **username_1**: Great! . . . . .  
  
  ---
  
  