Answers.Body: <p>It might if you use something other than US english, or whatever your host has set for the system-level.</p>
  
  <p>See <a href="https://github.com/civicrm/civicrm-core/blob/master/CRM/Core/I18n.php" rel="nofollow">https://github.com/civicrm/civicrm-core/blob/master/CRM/Core/I18n.php</a></p>
  
  <p>But it will probably still work anyway because CiviCRM sets other variables too that have higher priority. See
  <a href="https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html" rel="nofollow">https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-15T01:34:31.783Z
Answers.Text: Doing `grep -r putenv` on the codebase, agree `CRM/Core/I18n.php` caught the eye as a match. Almost everything else appears to be part of the test classes (which aren't used in a real site). One other *possible* issue is ([packages/Date/TimeZone.php](https://github.com/civicrm/civicrm-packages/blob/4.7.9/Date/TimeZone.php#L286)), but I'm not certain if that's ever called.
Answers.UserDisplayName: Tim Otten
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-15T00:32:37.237Z
Answers.LastActivityDate: 2016-07-15T00:32:37.237Z
Answers.UserDisplayName: Demerit
Body: <p>I've got the email below from my hosting provider "wpengine". Is it going to affect civicrm, does civicrm rely much on putenv?</p>
  
  <hr>
  
  <p>On July 20, 2016, we will be hardening the PHP function putenv based on industry best practices for all PHP applications.</p>
  
  <p>You are receiving this message because we have detected the use of putenv on your WordPress install(s) and plugins listed below:</p>
  
  <p>Plugin: civicrm</p>
  
  <p>How this affects you</p>
  
  <p>After Wednesday, July 20, 2016, you will no longer be able to set system-level environment variables using putenv. Any environment variables you set with putenv will be available in your WordPress site's code as it normally would.</p>
  
Tags: <wordpress>
Title: php putenv restrictions on server environment, how does this affect civicrm
ThreadText: # php putenv restrictions on server environment, how does this affect civicrm
  
  (Asked by: username_0 on 2016-07-14)
  
  I've got the email below from my hosting provider "wpengine". Is it going to affect civicrm, does civicrm rely much on putenv?
  
  ---
  
  On July 20, 2016, we will be hardening the PHP function putenv based on industry best practices for all PHP applications.
  
  You are receiving this message because we have detected the use of putenv on your WordPress install(s) and plugins listed below:
  
  Plugin: civicrm
  
  How this affects you
  
  After Wednesday, July 20, 2016, you will no longer be able to set system-level environment variables using putenv. Any environment variables you set with putenv will be available in your WordPress site's code as it normally would.
  
  **Tags:** wordpress
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-07-15. Score: 2 | Accepted answer
  
  It might if you use something other than US english, or whatever your host has set for the system-level.
  
  See <https://github.com/civicrm/civicrm-core/blob/master/CRM/Core/I18n.php>
  
  But it will probably still work anyway because CiviCRM sets other variables too that have higher priority. See
  <https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html>
  
  > **Comments:**
  > **username_2**: Doing `grep -r putenv` on the codebase, agree `CRM/Core/I18n.php` caught the eye as a match. Almost everything else appears to be part of the test classes (which aren't used in a real site). One other *possible* issue is ([packages/Date/TimeZone.php](https://github.com/civicrm/civicrm-packages/blob/4.7.9/Date/TimeZone.php#L286)), but I'm not certain if that's ever called.  
  
  ---
  
  