From 5686e1125f6cf0161fb6d8577c75dccb173ea14f Mon Sep 17 00:00:00 2001 From: JoeMurray <joe.murray@jmaconsulting.biz> Date: Tue, 12 Mar 2024 14:18:00 +0000 Subject: [PATCH] PHP 8.2 now recommended, removed some PHP <7.2 cruft --- docs/general/requirements.md | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/docs/general/requirements.md b/docs/general/requirements.md index 9854f39..29053ed 100644 --- a/docs/general/requirements.md +++ b/docs/general/requirements.md @@ -71,16 +71,14 @@ You can find the lifecycle of current PHP versions [here](https://www.php.net/su | | CiviCRM 5.69 ESR | CiviCRM 5.x.x stable | | ---- | ---- | ---- | -| PHP 8.3 | **supported** for sites willing to report potential occasional compatibility bugs. You can support this effort [by fixing open issues](https://lab.civicrm.org/dev/core/-/issues/?sort=created_date&state=opened&label_name[]=php8%2B) or with [funding](https://civicrm.org/contribute) | **supported** for sites willing to report potential occasional compatibility bugs. You can support this effort [by fixing open issues](https://lab.civicrm.org/dev/core/-/issues/?sort=created_date&state=opened&label_name[]=php8%2B) or with [funding](https://civicrm.org/contribute) | -| PHP 8.2 | **supported** for sites interested in deploying latest stable releases. You can support this effort [by fixing open issues](https://lab.civicrm.org/dev/core/-/issues/?sort=created_date&state=opened&label_name[]=php8%2B) or with [funding](https://civicrm.org/contribute) | **supported** for sites interested in deploying latest stable releases. You can support this effort [by fixing open issues](https://lab.civicrm.org/dev/core/-/issues/?sort=created_date&state=opened&label_name[]=php8%2B) or with [funding](https://civicrm.org/contribute) | +| PHP 8.3 | **compatible** and appropriate for early adopters | **compatible** and appropriate for early adopters | +| PHP 8.2 | **compatible and recommended** | **compatible and recommended** | | PHP 8.1 | **compatible and recommended** | **compatible and recommended** | | PHP 8.0 | compatible but **not recommended** due to [PHP end-of life](http://php.net/eol.php) in Nov 2023 | compatible but **not recommended** due to [PHP end-of life](http://php.net/eol.php) in Nov 2023 | | PHP 7.4 | compatible but **not recommended** due to [PHP end-of life](http://php.net/eol.php) in Nov 2022 | compatible but **not recommended** due to [PHP end-of life](http://php.net/eol.php) in Nov 2022 | | PHP 7.3 | **won't be compatible in 5.75.x ESR**<br> ([PHP end-of life](http://php.net/eol.php) in Dec 2021) | **not compatible** | -| PHP 7.2 | **not compatible** | **not compatible** | -| PHP 7.1 | **not compatible** | **not compatible** | -| PHP 7.0 | **not compatible** | **not compatible** | -| PHP 5.6 | **not compatible** | **not compatible** | +| PHP <7.2 | **not compatible** | **not compatible** | + ??? info "Historical PHP Versions" The table below gives information on PHP minimum and recommended version compatibility for old versions of CiviCRM: @@ -116,15 +114,6 @@ To install these extensions, you will typically install a separate package withi * [PHP SOAP](https://www.php.net/soap) - required to use the SOAP processor (required for the CiviSMTP service) -#### PHP 7.1 and the MCrypt library - -* [PHP MCrypt](https://php.net/manual/en/intro.mcrypt.php) - the MCrypt extension is no longer recommended for new installations. From CiviCRM 5.34 onwards MCrypt is no longer needed. - - !!! warning "PHP 7.2 Compatibility" - 7.2 upgrade warning - 7.2 does not support MCrypt and if MCrypt is not installed the SMTP password (if entered) will need to be re-saved once you update your PHP version to 7.2. - !!! warning "PHP 7.1 cannot access SMTP credentials" - CiviCRM will incorrectly attempt to decrypt the SMTP password using the MCrypt library when executed using PHP 7.1. If PHP 7.2 or higher was used to save the SMTP password. This can occur if the PHP version on the command line does not match the web server version. - ### PHP Configuration The following PHP directives is the recommended minimum. These are defined in the [php.ini file](https://www.php.net/manual/ini.list.php). -- GitLab