Update PHP version

Changing PHP 7.4 to 7.2 since it's not supported on the stable release.
This commit is contained in:
Brouskat 2020-08-21 08:13:11 +02:00 committed by GitHub
parent dc01823ade
commit b06bd4444c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,13 +23,13 @@ systemctl start mariadb
systemctl enable mariadb systemctl enable mariadb
``` ```
### PHP 7.4 ### PHP 7.2
```bash ```bash
## Get apt updates ## Get apt updates
apt update -y apt update -y
## Install PHP 7.4 ## Install PHP 7.2
apt install -y php7.4 php7.4-cli php7.4-gd php7.4-mysql php7.4-mbstring php7.4-bcmath php7.4-xml php7.4-fpm php7.4-curl php7.4-zip apt -y install php7.2 php7.2-{cli,gd,mysql,pdo,mbstring,tokenizer,bcmath,xml,fpm,curl,zip}
``` ```
### Nginx ### Nginx
@ -96,15 +96,15 @@ The default php-fpm configuration is fine to use and can be started and then ena
commands below. commands below.
```bash ```bash
systemctl enable php7.4-fpm systemctl enable php7.2-fpm
systemctl start php7.4-fpm systemctl start php7.2-fpm
``` ```
### Nginx ### Nginx
Please check our [tutorial](/tutorials/creating_ssl_certificates.md) on generating SSL certificates for more information. Please check our [tutorial](/tutorials/creating_ssl_certificates.md) on generating SSL certificates for more information.
#### SSL Configuration #### SSL Configuration
<<< @/.snippets/webservers/nginx-php7.4.conf{5,11,26-27} <<< @/.snippets/webservers/nginx-php7.2.conf{5,11,26-27}
### Redis Setup ### Redis Setup
The default Redis install is perfectly fine for the panel. If you have Redis already in use you may want to look into The default Redis install is perfectly fine for the panel. If you have Redis already in use you may want to look into