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) »
  • After 2.2 to 3.4 upgrade, does civicrm.settings.php file need upgrade too?
Pages: [1]

Author Topic: After 2.2 to 3.4 upgrade, does civicrm.settings.php file need upgrade too?  (Read 1101 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
After 2.2 to 3.4 upgrade, does civicrm.settings.php file need upgrade too?
June 02, 2011, 02:47:10 pm
I successfully upgraded a site from 2.2 to 3.4 today, and noticed that during that timeframe the civicrm.settings.php file has expanded quite a lot.  The site seems to work with the old civicrm.settings.php file, but would it benefit to update the file with the 3.4 version of civicrm.settings.php?

Try CiviTeacher: the online video tutorial CiviCRM learning library.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: After 2.2 to 3.4 upgrade, does civicrm.settings.php file need upgrade too?
June 03, 2011, 12:48:01 am
Yes you should update civicrm.settings.php. We have added fare amount of new settings in civicrm.settings.php

Kurund
Found this reply helpful? Support CiviCRM

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: After 2.2 to 3.4 upgrade, does civicrm.settings.php file need upgrade too?
June 03, 2011, 09:06:36 pm
Kurund,

On my Ubuntu box, when I upgrade to a new release, I get asked whether to update or keep configuration files that might have changed. I wonder whether something similar is possible for CiviCRM?

Observing that during a fresh install, civicrm.settings.php is generated from templates/CRM/common/civicrm.settings.php.tpl, may I suggest that during an upgrade ...
  • Using templates/CRM/common/civicrm.settings.php.tpl and the same logic as during a fresh install ...
  • ... generate "x.x.x.civicrm.settings.php.default" where "x.x.x" would be "3.4.2" for a 3.4.2 upgrade, and ...
  • ... if this is different to civicrm.settings.php ...
  • ... alert the administrator that the default settings file has been generated, is different to the settings file, and it is recommended the administrator reviews the differences

Stoob and I have been lucky in detecting changes to templates/CRM/common/civicrm.settings.php.tpl  but most administrators would not see that.

Thanks!
Ken

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: After 2.2 to 3.4 upgrade, does civicrm.settings.php file need upgrade too?
June 08, 2011, 04:14:14 am
Yes, agreed. This would be good improvement  to upgrade process

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • After 2.2 to 3.4 upgrade, does civicrm.settings.php file need upgrade too?

This forum was archived on 2017-11-26.