mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-13 04:09:26 -06:00
Update PHP version
Changing PHP 7.4 to 7.2 since it's not supported on the stable release.
This commit is contained in:
parent
dc01823ade
commit
b06bd4444c
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user