PHP Repo Debian 10 Change (#372)

* PHP Repo

Personally, this is the only way I can get PHP installed nowadays. Used to work fine the old way before PHP 8 came out but now it just gives me the error php modules are not found and this fixes it for me.

* docs: add basic packages and change to curl

Includes basic packages to proceed in case they are not already in the distro source. Change wget to curl for consistency

Co-authored-by: Softwarenoob <admin@softwarenoob.com>
This commit is contained in:
JackOXI 2021-08-07 22:02:47 +01:00 committed by GitHub
parent e69528659a
commit 51d081c30a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,8 @@ We will first begin by installing all of Pterodactyl's [required](/panel/1.0/get
### MariaDB
```bash
apt install -y software-properties-common curl apt-transport-https ca-certificates
## Get apt updates
apt update
@ -25,6 +27,10 @@ systemctl enable mariadb
### PHP 7.4
```bash
# Add repository for PHP
curl https://packages.sury.org/php/apt.gpg -o /etc/apt/trusted.gpg.d/php.gpg
echo "deb https://packages.sury.org/php/ buster main" | tee /etc/apt/sources.list.d/php.list
## Get apt updates
apt update