From ba71cae34acef0cc191928c10503ea3c6604b103 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 17 Aug 2017 07:04:09 +1000 Subject: [PATCH] CRM-20941 Add in Link to blog post on bumping PHP Version --- CRM/Upgrade/Incremental/General.php | 3 ++- CRM/Utils/Check/Component/Env.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CRM/Upgrade/Incremental/General.php b/CRM/Upgrade/Incremental/General.php index 68afc97cef..e8a820ecb1 100644 --- a/CRM/Upgrade/Incremental/General.php +++ b/CRM/Upgrade/Incremental/General.php @@ -85,10 +85,11 @@ class CRM_Upgrade_Incremental_General { if (version_compare(phpversion(), 5.4) < 0) { $date = CRM_Utils_Date::customFormat('2017-12-31', $dateFormat); } - $preUpgradeMessage .= ts('You may proceed with the upgrade and CiviCRM %1 will continue working normally, but PHP %2 will not work in releases published after %3. We recommend you use the most recent php version you can', array( + $preUpgradeMessage .= ts('You may proceed with the upgrade and CiviCRM %1 will continue working normally, but PHP %2 will not work in releases published after %3. We recommend you use the most recent php version you can. For more explanation see the announcement', array( 1 => $currentVer, 2 => phpversion(), 3 => $date, + 4 => 'https://civicrm.org/blog/totten/end-of-zombies-php-53-and-54', )); } $preUpgradeMessage .= '

'; diff --git a/CRM/Utils/Check/Component/Env.php b/CRM/Utils/Check/Component/Env.php index 1660b89d74..6c74b21b96 100644 --- a/CRM/Utils/Check/Component/Env.php +++ b/CRM/Utils/Check/Component/Env.php @@ -76,11 +76,12 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component { } $messages[] = new CRM_Utils_Check_Message( __FUNCTION__, - ts('This system uses PHP version %1. CiviCRM can be installed on this version, However PHP version %1, will not work in releases published after %2, and version %3 is recommended.', + ts('This system uses PHP version %1. CiviCRM can be installed on this version. However PHP version %1 will not work in releases published after %2, and version %3 is recommended. For more explanation see the announcement', array( 1 => phpversion(), 2 => $date, 3 => CRM_Upgrade_Incremental_General::MIN_RECOMMENDED_PHP_VER, + 4 => 'https://civicrm.org/blog/totten/end-of-zombies-php-53-and-54', )), ts('PHP Out-of-Date'), \Psr\Log\LogLevel::WARNING, -- 2.25.1