EBMS Tickets

Issue Number 521
Summary Upgrade PHP to version 7.2
Created 2019-08-15 10:50:53
Issue Type Task
Submitted By Dugan, Amy (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2019-08-19 15:56:43
Resolution Fixed
Path /home/bkline/backups/jira/oceebms/issue.248407
Description

Upgrade PHP to version from 7.1 to 7.2. 7.1 is being end of life-ed.

Comment entered 2019-08-17 13:53:13 by Kline, Bob (NIH/NCI) [C]

Ticket for upgrading PHP on EBMS DEV to 7.2: NCI-RITM0190861

Comment entered 2019-08-19 15:56:43 by Kline, Bob (NIH/NCI) [C]

PHP upgraded on EBMS DEV. Settings file adjusted to fix breakage introduced by the upgrade. Adjustment added to the deployment script. Of course, we may encounter other breakage in the process of testing the rest of the site, and we'll fix it as we go. Shouldn't be as extensive as what we saw for the upgrade from PHP 5.x to 7.x.

Comment entered 2019-08-19 18:45:54 by Kline, Bob (NIH/NCI) [C]

I added a sed command to comment out the following line from settings.php to the deployment script:

ini_set('session.save_handler', 'user');

 

See:

https://www.drupal.org/forum/support/post-installation/2016-06-23/fatal-error-call-to-undefined-function-cache_get
and
https://www.drupal.org/project/drupal/issues/303154

Elapsed: 0:00:00.000666