feat!: switch to php 8.1+ dependency (#6250)

This commit is contained in:
Alexis Saettler
2022-07-31 22:14:37 +02:00
committed by GitHub
parent a5ff8fc247
commit 6a7f49fd90
12 changed files with 245 additions and 239 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ You'll need to run the installation instructions below and setup a local mysql i
**Prerequisites**:
* Git
* [Node](https://nodejs.org/en/)
* PHP 8.0+
* PHP 8.1+
* [Composer](https://getcomposer.org/)
* GNU Make
+2 -2
View File
@@ -14,14 +14,14 @@
Monica can be configured in shared hosting environments with a little differences that we can remedy easily. In this scenario, Monica depends on the following:
- A shared cPanel Server
- PHP 8.0+
- PHP 8.1+
- [Composer](https://getcomposer.org/)
- [MySQL](https://www.mysql.com/)
- SSH Access for an accont on the cPanel server
**Git:** Git should come pre-installed with your server. If it doesn't - use the installation instructions in the link.
**PHP:** Install php8.0 minimum. Generally cPanel will have a PHP 7 version installed, verify under the 'PHP Version' section from the cPanel section. Make sure these extensions are enabled:
**PHP:** Install php8.1 minimum. Generally cPanel will have a PHP 7 version installed, verify under the 'PHP Version' section from the cPanel section. Make sure these extensions are enabled:
- bcmath
- curl
+3 -3
View File
@@ -19,7 +19,7 @@ Monica depends on the following:
- A Web server, like [Apache httpd webserver](https://httpd.apache.org/)
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- PHP 8.0+
- PHP 8.1+
- [Composer](https://getcomposer.org/)
- [Node.js](https://nodejs.org)
- [Yarn](https://yarnpkg.com)
@@ -42,7 +42,7 @@ sudo apt install -y git
**PHP:**
If you are using Debian 10 or lower, PHP 8.0 is not available from the Debian project directly. Instead use the [deb.sury.org](https://deb.sury.org/) package repository from Ondřej Surý, maintainer of the mainline Debian packages.
If you are using Debian 10 or lower, PHP 8.1 is not available from the Debian project directly. Instead use the [deb.sury.org](https://deb.sury.org/) package repository from Ondřej Surý, maintainer of the mainline Debian packages.
```sh
sudo apt install -y curl software-properties-common
@@ -51,7 +51,7 @@ echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /et
sudo apt update
```
Install PHP 8.0 or 8.1 with these extensions:
Install PHP 8.1 with these extensions:
- bcmath
- curl
+2 -2
View File
@@ -20,7 +20,7 @@
If you don't want to use Docker, the best way to setup the project is to use the same configuration that [Homestead](https://laravel.com/docs/homestead) uses. Basically, Monica depends on the following:
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- PHP 8.0+
- PHP 8.1+
- [Composer](https://getcomposer.org/)
- [Node.js](https://nodejs.org)
- [Yarn](https://yarnpkg.com)
@@ -29,7 +29,7 @@ If you don't want to use Docker, the best way to setup the project is to use the
**Git:** Git should come pre-installed with your server. If it doesn't - use the installation instructions in the link.
**PHP:** Install php8.0 minimum, with these extensions:
**PHP:** Install php8.1 minimum, with these extensions:
- bcmath
- curl
+3 -3
View File
@@ -20,7 +20,7 @@ Monica depends on the following:
- [Apache httpd webserver](https://httpd.apache.org/)
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- PHP 8.0+
- PHP 8.1+
- [Composer](https://getcomposer.org/)
- [Node.js](https://nodejs.org)
- [Yarn](https://yarnpkg.com)
@@ -42,7 +42,7 @@ sudo apt update
sudo apt install -y apache2
```
**PHP 8.0+:**
**PHP 8.1+:**
First add this PPA repository:
@@ -51,7 +51,7 @@ sudo apt install -y software-properties-common
sudo add-apt-repository ppa:ondrej/php
```
Then install php 8.0 or 8.1 with these extensions:
Then install php 8.1 with these extensions:
```sh
sudo apt update
+1 -1
View File
@@ -14,7 +14,7 @@ Monica can be installed on a variety of platforms. The choice of the platform is
If you don't want to use [Docker](/docs/installation/providers/docker.md), the best way to setup the project is to use the same configuration that [Homestead](https://laravel.com/docs/homestead) uses. Basically, Monica depends on the following:
* [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
* PHP 8.0+
* PHP 8.1+
* [Composer](https://getcomposer.org/)
* [MySQL](https://www.mysql.com/)
* Optional: Redis or Beanstalk