mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-10 21:05:59 -06:00
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:
parent
e69528659a
commit
51d081c30a
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user