CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Confused by civicrm.settings.php & memcache settings (Civi 4.4)
Pages: [1]

Author Topic: Confused by civicrm.settings.php & memcache settings (Civi 4.4)  (Read 690 times)

ArthurC

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.32
  • PHP version: 5.3.27
Confused by civicrm.settings.php & memcache settings (Civi 4.4)
April 04, 2014, 04:59:36 pm
civicrm.settings.php.template is in sites/all/modules/civicrm/templates/CRM/common. At line 186 you can set CIVICRM_MAIL_LOG. After that, you can set CIVICRM_DB_CACHE_CLASS, CIVICRM_DB_CACHE_HOST, CIVICRM_DB_CACHE_PORT, CIVICRM_DB_CACHE_TIMEOUT, CIVICRM_MEMCACHE_PREFIX. Then you get to language mapping and MySQL settings and then to "Do not change anything below this line."

In the instructions to upgrade Drupal sites to 4.4 (http://tinyurl.com/nn5tpxj) we are told to insert lines beginning with the CIVICRM_MAIL_LOG, then CIVICRM_USE_MEMCACHE, CIVICRM_MEMCACHE_HOST, CIVICRM_MEMCACHE_PORT, CIVICRM_MEMCACHE_TIMEOUT, CIVICRM_MEMCACHE_PREFIX. That brings us to "Do not change anything below this line."

The explanatory comments in both sections are very much alike, though not identical.

The instructions are unclear to me: Are the MEMCACHE defines supposed to replace the DB defines? Are the MEMCACHE defines supposed to be inserted after the DB defines? Is it okay to ignore the MEMCACHE defines and just go with the DB defines from the template, and which we have in our CiviCRM 4.3 implementation?

Thank-you for any guidance or explanations you can provide.

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Confused by civicrm.settings.php & memcache settings (Civi 4.4)
April 04, 2014, 08:20:46 pm
You seems to be referring to

Quote
9. Update the civicrm.settings.php file

CiviCRM 4.0 and above requires definitions in civicrm.settings.php which previous versions of CiviCRM did not have. There are two methods to put these required definitions into your install:

The bolding is mine.  Since you are already on 4.3 you should be able to ignore section 9 apart from the the  highlighted text at the end that specifically refers to 4.4.

ArthurC

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.32
  • PHP version: 5.3.27
Re: Confused by civicrm.settings.php & memcache settings (Civi 4.4)
April 07, 2014, 12:28:18 am
Thanks, Joanne,

I did in the end do nothing, and the result was a site that runs okay. (I had backups of databases and code, if necessary)

Your guidance is reassuring, nevertheless.

Arthur

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Confused by civicrm.settings.php & memcache settings (Civi 4.4)

This forum was archived on 2017-11-26.