mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-10 10:44:43 -06:00
Update to specify php 8.1
Fedora Server 38 came out and it uses 8.2 by default, so now we have to specify 8.1 when installing.
This commit is contained in:
parent
9900d312ea
commit
884b1d4d10
@ -29,8 +29,7 @@ systemctl enable mariadb
|
||||
```
|
||||
|
||||
### PHP 8.0
|
||||
We recommend the remi repo to get the latest php packages.
|
||||
If on Fedora Server 37, skip the "Install Repos" step and instead install php-process with "dnf install php-process". Then, continue at the "Get dnf updates" step.
|
||||
We recommend the remi repo to get the latest php packages. (Skip to next section if on Fedora 38)
|
||||
|
||||
```bash
|
||||
## Install Repos
|
||||
@ -45,6 +44,13 @@ dnf update -y
|
||||
dnf install -y php php-{common,fpm,cli,json,mysqlnd,gd,mbstring,pdo,zip,bcmath,dom,opcache}
|
||||
```
|
||||
|
||||
### If using Fedora Server 38 install PHP 8.1 and Dependencies from this section. If not, skip this section.
|
||||
```bash
|
||||
dnf install https://rpms.remirepo.net/fedora/remi-release-38.rpm
|
||||
dnf module install php:remi-8.1
|
||||
dnf install php81-php-{common,fpm,cli,json,mysqlnd,gd,mbstring,pdo,zip,bcmath,dom,opcache,process}
|
||||
```
|
||||
|
||||
### Composer
|
||||
```bash
|
||||
dnf install -y zip unzip tar # Required for Composer
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user