Answers.Body: <p>You need at least php 7.2 to run civi 5.48. Even then it may be a big jump and if that doesn't work you may need to upgrade to intermediate versions in smaller jumps.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-04-19T23:55:07.273Z
Answers.Text: Thanks. The advice I've been getting in the CiviCRM chat forum is the same. Upgrade incrementally. The problem is, Siteground has removed PHP 7.2 from its servers, so we can only use 7.3.x and CiviCRM 7.4.31 may not run well on that version. Since I'm new to CiviCRM, I'm not sure where to find in the docs what versions of CiviCRM run on which version of php.
Answers.UserDisplayName: Tony Zeoli
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-04-20T00:08:23.737Z
Answers.Text: That's a good question. It would be nice if it showed up here https://docs.civicrm.org/sysadmin/en/latest/upgrade/version-specific/. It might be possible to get it by looking at the git history for when this line changed over time https://github.com/civicrm/civicrm-core/blob/e7564c354d5f37598ad2bbe434f15634fdf24aa8/CRM/Upgrade/Incremental/General.php#L29
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-05T15:50:52.393Z
Answers.Text: There is a table of historic php and civi versions here: https://docs.civicrm.org/installation/en/latest/general/requirements/#php-version
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-04-14T18:19:11.623Z
Answers.LastActivityDate: 2022-04-14T18:19:11.623Z
Answers.UserDisplayName: Demerit
Body: <p>I'm new to CiviCRM and am working for a client who's 4.7.x CiviCRM has issues where I'm unable to access tabs and I get an error when switching to some tabs in the menu system, so I'm trying to upgrade.</p>
  <p>I've got 5.48.0 uploaded via FTP to the server. I've tarred the old version in the same directory so it doesn't conflict and I have a backup. (I also have backups in the backups panel in Siteground, so good there).</p>
  <p>I deleted the old version, unpacked the new version, and deleted the cache files as instructed. When I go to click for the database upgrade, it fails.</p>
  <p><a href="https://i.sstatic.net/YbwTk.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/YbwTk.jpg" alt="enter image description here" /></a></p>
  <p>I also no longer see all my data tables on the main Dashboard page, either.</p>
  <p><a href="https://i.sstatic.net/FeZpp.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/FeZpp.jpg" alt="enter image description here" /></a></p>
  <p>Should I change the version of PHP before I try to run the database upgrade function?</p>
  
Tags: <wordpress><upgrade><database>
Title: Attempt Upgrade from 4.7 to 5.48 and database upgrade fails
ThreadText: # Attempt Upgrade from 4.7 to 5.48 and database upgrade fails
  
  (Asked by: username_0 on 2022-04-14)
  
  I'm new to CiviCRM and am working for a client who's 4.7.x CiviCRM has issues where I'm unable to access tabs and I get an error when switching to some tabs in the menu system, so I'm trying to upgrade.
  
  I've got 5.48.0 uploaded via FTP to the server. I've tarred the old version in the same directory so it doesn't conflict and I have a backup. (I also have backups in the backups panel in Siteground, so good there).
  
  I deleted the old version, unpacked the new version, and deleted the cache files as instructed. When I go to click for the database upgrade, it fails.
  
  [![enter image description here](https://i.sstatic.net/YbwTk.jpg)](https://i.sstatic.net/YbwTk.jpg)
  
  I also no longer see all my data tables on the main Dashboard page, either.
  
  [![enter image description here](https://i.sstatic.net/FeZpp.jpg)](https://i.sstatic.net/FeZpp.jpg)
  
  Should I change the version of PHP before I try to run the database upgrade function?
  
  **Tags:** wordpress, upgrade, database
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-04-14. Score: 1
  
  You need at least php 7.2 to run civi 5.48. Even then it may be a big jump and if that doesn't work you may need to upgrade to intermediate versions in smaller jumps.
  
  > **Comments:**
  > **username_0**: Thanks. The advice I've been getting in the CiviCRM chat forum is the same. Upgrade incrementally. The problem is, Siteground has removed PHP 7.2 from its servers, so we can only use 7.3.x and CiviCRM 7.4.31 may not run well on that version. Since I'm new to CiviCRM, I'm not sure where to find in the docs what versions of CiviCRM run on which version of php.  
  > **username_1**: That's a good question. It would be nice if it showed up here https://docs.civicrm.org/sysadmin/en/latest/upgrade/version-specific/. It might be possible to get it by looking at the git history for when this line changed over time https://github.com/civicrm/civicrm-core/blob/e7564c354d5f37598ad2bbe434f15634fdf24aa8/CRM/Upgrade/Incremental/General.php#L29  
  > **username_2**: There is a table of historic php and civi versions here: https://docs.civicrm.org/installation/en/latest/general/requirements/#php-version  
  
  ---
  
  