Answers.Body: <p>I think you should be able to do it in one go, but you should definitely clone the server and do a test upgrade first particularly with that many versions (and of course back everything up first before doing the upgrade of the live site). I don't think you need to upgrade WordPress, but personally I would do this to the latest version immediately before or after.</p>
  <p>Something I would check is the version of MySQL as I got caught out by that and version 5.7.5 is recommended. Version 5.6 needed setting changes that I couldn't make on my shareed hosting service, but 5.7 had the necessary settings by default.</p>
  <p>Worth a look at the installation requirements at <a href="https://docs.civicrm.org/installation/en/latest/general/requirements/" rel="nofollow noreferrer">https://docs.civicrm.org/installation/en/latest/general/requirements/</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-10-01T16:22:31.050Z
Answers.LastActivityDate: 2021-10-01T16:22:31.050Z
Answers.UserDisplayName: Mick Kahn
Answers.Body: <p>Our advice would be to try a full upgrade on a test/staging site first. This is the only way you'll be sure. Remember you'll need to upgrade extensions too as thats approx 21 months of upgrade being applied.</p>
  <p>If a full upgrade fails then you can try it in parts i.e. going to 5.30.x first then up to the latest etc.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-10-01T16:15:30.573Z
Answers.LastActivityDate: 2021-10-01T16:15:30.573Z
Answers.UserDisplayName: Parvez Saleh
Body: <p>Our organizations site is running Wordpress 4.9.18 and we are running with CiviCRM 5.20.0. Can I upgrade from CiviCRM 5.20.0 directly to the latest 5.41.2 or do I need to upgrade to one or more interim versions to get to 5.41.2?</p>
  <p>If I need interim upgrades, what would those versions be and do I need to upgrade Wordpress along the way?</p>
  
Tags: <wordpress><upgrade>
Title: Upgrade from 5.20.0 to 5.41.2 (Wordpress)
ThreadText: # Upgrade from 5.20.0 to 5.41.2 (Wordpress)
  
  (Asked by: username_0 on 2021-10-01)
  
  Our organizations site is running Wordpress 4.9.18 and we are running with CiviCRM 5.20.0. Can I upgrade from CiviCRM 5.20.0 directly to the latest 5.41.2 or do I need to upgrade to one or more interim versions to get to 5.41.2?
  
  If I need interim upgrades, what would those versions be and do I need to upgrade Wordpress along the way?
  
  **Tags:** wordpress, upgrade
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2021-10-01. Score: 3
  
  I think you should be able to do it in one go, but you should definitely clone the server and do a test upgrade first particularly with that many versions (and of course back everything up first before doing the upgrade of the live site). I don't think you need to upgrade WordPress, but personally I would do this to the latest version immediately before or after.
  
  Something I would check is the version of MySQL as I got caught out by that and version 5.7.5 is recommended. Version 5.6 needed setting changes that I couldn't make on my shareed hosting service, but 5.7 had the necessary settings by default.
  
  Worth a look at the installation requirements at <https://docs.civicrm.org/installation/en/latest/general/requirements/>
  
  
  ---
  
  ### Answer by username_2 on 2021-10-01. Score: 2
  
  Our advice would be to try a full upgrade on a test/staging site first. This is the only way you'll be sure. Remember you'll need to upgrade extensions too as thats approx 21 months of upgrade being applied.
  
  If a full upgrade fails then you can try it in parts i.e. going to 5.30.x first then up to the latest etc.
  
  
  ---
  
  