Add PHP repository

This commit is contained in:
Alex 2021-03-12 18:44:14 +02:00 committed by GitHub
parent 69e822974f
commit 9f17c8dd1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,8 @@ In order to install PHP 8.0, you will need to run the following command. Please
may have slightly different requirements for how this command is formatted. may have slightly different requirements for how this command is formatted.
```bash ```bash
# Add additional repository for PHP
add-apt-repository -y ppa:ondrej/php
apt -y update apt -y update
apt -y install php8.0 php8.0-{cli,gd,mysql,pdo,mbstring,tokenizer,bcmath,xml,fpm,curl,zip} apt -y install php8.0 php8.0-{cli,gd,mysql,pdo,mbstring,tokenizer,bcmath,xml,fpm,curl,zip}
``` ```