Update remi & use php 8 on CentOS (#433)

* Note about centos 8 EOL
* Update remi and use php 8 on centos docs
This commit is contained in:
Mark David 2022-02-12 06:34:10 -05:00 committed by GitHub
parent 9348ddcad7
commit eeb8544b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -45,20 +45,20 @@ systemctl start mariadb
systemctl enable mariadb
```
### PHP 7.4
### PHP 8.0
We recommend the remi repo to get the latest php packages.
```bash
## Install Repos
yum install -y epel-release http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install -y epel-release http://rpms.remirepo.net/enterprise/remi-release-8.rpm
yum install -y yum-utils
yum-config-manager --disable remi-php54
yum-config-manager --enable remi-php74
yum-config-manager --enable remi-php80
## Get yum updates
yum update -y
## Install PHP 7.4
## Install PHP 8.0
yum install -y php php-{common,fpm,cli,json,mysqlnd,mcrypt,gd,mbstring,pdo,zip,bcmath,dom,opcache}
```

View File

@ -28,19 +28,19 @@ systemctl start mariadb
systemctl enable mariadb
```
### PHP 7.4
### PHP 8.0
We recommend the remi repo to get the latest php packages.
```bash
## Install Repos
dnf install epel-release
dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
dnf module enable php:remi-7.4
dnf module enable php:remi-8.0
## Get dnf updates
dnf update -y
## Install PHP 7.4
## Install PHP 8.0
dnf install -y php php-{common,fpm,cli,json,mysqlnd,gd,mbstring,pdo,zip,bcmath,dom,opcache}
```

View File

@ -28,7 +28,7 @@ this software on an OpenVZ based system you will — most likely — not
| **Ubuntu** | 18.04 | :white_check_mark: | Documentation written assuming Ubuntu 18.04 as the base OS. |
| | 20.04 | :white_check_mark: | |
| **CentOS** | 7 | :white_check_mark: | Extra repos are required. |
| | 8 | :white_check_mark: | |
| | 8 | :white_check_mark: | Note that CentOS 8 is EOL. Use Rocky or Alma Linux. |
| **Debian** | 9 | :white_check_mark: | Extra repos are required. |
| | 10 | :white_check_mark: | |
| | 11 | :white_check_mark: | |

View File

@ -21,7 +21,7 @@ only the versions listed below.
| **Ubuntu** | 18.04 | :white_check_mark: | Documentation written assuming Ubuntu 18.04 as the base OS. |
| | 20.04 | :white_check_mark: | |
| **CentOS** | 7 | :white_check_mark: | |
| | 8 | :white_check_mark: | |
| | 8 | :white_check_mark: | Note that CentOS 8 is EOL. Use Rocky or Alma Linux. |
| **Debian** | 9 | :white_check_mark: | |
| | 10 | :white_check_mark: | |
| | 11 | :white_check_mark: | |