Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tec: Set minimal version of PHP to 8.1 #596

Merged
merged 1 commit into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-22.04]
php-versions: ['7.4', '8.0', '8.1']
php-versions: ['8.1']

services:
postgres:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog of flusio

## unreleased

### Migration notes

PHP 8.1+ is now required. Please check your version before updating flusio!

## 2023-04-07 - v0.54

### Security
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4-fpm
FROM php:8.1-fpm

ENV COMPOSER_HOME /tmp

Expand All @@ -13,7 +13,7 @@
libjpeg62-turbo-dev \
libpng-dev \
libwebp-dev \
&& pecl install xdebug-3.1.6 \
&& pecl install xdebug \
&& docker-php-ext-configure intl \
&& docker-php-ext-configure gd --with-webp --with-jpeg --with-freetype \
&& docker-php-ext-install -j$(nproc) intl gettext pcntl zip pdo pdo_pgsql gd \
Expand Down
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ and containers aren’t deleted this way).

Here are some indicators if you’re not using Docker.

First, make sure you have PHP 7.4+, Node 14 and a running PostgreSQL 13 with a
First, make sure you have PHP 8.1+, Node 14 and a running PostgreSQL 13 with a
user being able to create and drop a database. You also must install [the PHP
`composer` dependency manager](https://getcomposer.org/).

Expand Down
2 changes: 1 addition & 1 deletion docs/production.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Installing flusio on your own server is quite simple but still requires basic
notions in sysadmin. First, make sure you match with the following
requirements:

- git, Nginx, PHP 7.4+ and PostgreSQL 13+ are installed on your server;
- git, Nginx, PHP 8.1+ and PostgreSQL 13+ are installed on your server;
- PHP requires `intl`, `gettext`, `pcntl`, `gd`, `pdo` and `pdo_pgsql` extensions;
- your PostgreSQL user must have the permission to create a database;
- flusio must be served over <abbr>HTTPS</abbr>.
Expand Down
2 changes: 1 addition & 1 deletion docs/technical_stack.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Technical stack overview

flusio is using [PHP](https://www.php.net/) 7.4+. The version isn’t strongly
flusio is using [PHP](https://www.php.net/) 8.1+. The version isn’t strongly
fixed and can change. While I’ll do my best to keep things simple, remember
that easy installation is not my main priority. The minimal PHP version is
usually following the version of the production server which run on Debian.
Expand Down
Loading