feat!: switch to php 8.1+ dependency (#6250)
This commit is contained in:
@@ -9,7 +9,7 @@ on:
|
||||
types: [completed]
|
||||
|
||||
env:
|
||||
php-version: '8.0'
|
||||
php-version: '8.1'
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -14,7 +14,7 @@ on:
|
||||
types: [completed]
|
||||
|
||||
env:
|
||||
default-php-version: '8.0'
|
||||
default-php-version: '8.1'
|
||||
node-version: 16
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php-version: ['8.0', '8.1']
|
||||
php-version: ['8.1']
|
||||
connection: [mysql]
|
||||
testsuite: [Api, Feature, Commands-Other, Commands-Scheduling, Unit-Models, Unit-Services]
|
||||
# exclude:
|
||||
@@ -150,7 +150,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php-version: ['8.0']
|
||||
php-version: ['8.1']
|
||||
connection: [mysql]
|
||||
|
||||
steps:
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
php 8.0.6
|
||||
php 8.1.0
|
||||
nodejs 16.15.0
|
||||
yarn 1.22.19
|
||||
|
||||
@@ -130,7 +130,7 @@ There are multiple ways of getting started with Monica:
|
||||
|
||||
If you want to host Monica yourself, you will need a server with:
|
||||
|
||||
- PHP 8.0 or newer
|
||||
- PHP 8.1 or newer
|
||||
- HTTP server with PHP support (eg: Apache, Nginx, Caddy)
|
||||
- Composer
|
||||
- MySQL
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
],
|
||||
"license": "AGPL",
|
||||
"require": {
|
||||
"php": "^8.0",
|
||||
"php": "^8.1",
|
||||
"ext-bcmath": "*",
|
||||
"ext-gd": "*",
|
||||
"ext-gmp": "*",
|
||||
|
||||
Generated
+226
-220
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user