Skip to content

Commit 94fdbef

Browse files
authored
Merge branch 'main' into new/polls
2 parents fcaf254 + 1439efd commit 94fdbef

4 files changed

Lines changed: 29 additions & 29 deletions

File tree

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/02-admin/01-installation/01-bare_metal.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ You can start with a smaller server and add more resources later if you are usin
1919

2020
## Software Requirements
2121

22-
- Debian 12 or Ubuntu 22.04 LTS or later
23-
- PHP v8.3 or higher
22+
- Debian 12 or Ubuntu 24.04 LTS or later
23+
- PHP v8.5 or higher
2424
- NodeJS v22 or higher
2525
- Valkey / KeyDB / Redis (pick one)
2626
- PostgreSQL
@@ -49,7 +49,7 @@ Install prequirements:
4949
sudo apt-get install lsb-release ca-certificates curl wget unzip gnupg apt-transport-https software-properties-common python3-launchpadlib git redis-server postgresql postgresql-contrib nginx acl -y
5050
```
5151

52-
On **Ubuntu 22.04 LTS** or older, prepare latest PHP package repositoy (8.4) by using a Ubuntu PPA (this step is optional for Ubuntu 23.10 or later) via:
52+
On **Ubuntu 24.04 LTS** or older, prepare latest PHP package repositoy (8.5) by using a Ubuntu PPA (this step is optional for Ubuntu 24.10 or later) via:
5353

5454
```bash
5555
sudo add-apt-repository ppa:ondrej/php -y
@@ -64,15 +64,15 @@ sudo dpkg -i /tmp/debsuryorg-archive-keyring.deb
6464
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
6565
```
6666

67-
Install _PHP 8.4_ with the required additional PHP extensions:
67+
Install _PHP 8.5_ with the required additional PHP extensions:
6868

6969
```bash
7070
sudo apt-get update
71-
sudo apt-get install php8.4 php8.4-common php8.4-fpm php8.4-cli php8.4-amqp php8.4-bcmath php8.4-pgsql php8.4-gd php8.4-curl php8.4-xml php8.4-redis php8.4-mbstring php8.4-zip php8.4-bz2 php8.4-intl php8.4-bcmath -y
71+
sudo apt-get install php8.5 php8.5-common php8.5-fpm php8.5-cli php8.5-amqp php8.5-bcmath php8.5-pgsql php8.5-gd php8.5-curl php8.5-xml php8.5-redis php8.5-mbstring php8.5-zip php8.5-bz2 php8.5-intl php8.5-bcmath -y
7272
```
7373

7474
> [!NOTE]
75-
> If you are upgrading to PHP 8.3 from an older version, please re-review the [PHP configuration](#php) section of this guide as existing `ini` settings are NOT automatically copied to new versions. Additionally review which php-fpm version is configured in your Nginx site.
75+
> If you are upgrading to PHP 8.5 from an older version, please re-review the [PHP configuration](#php) section of this guide as existing `ini` settings are NOT automatically copied to new versions. Additionally review which php-fpm version is configured in your Nginx site.
7676
7777
> [!IMPORTANT]
7878
> **Never** even install `xdebug` PHP extension in production environments. Even if you don't enabled it but only installed `xdebug` can give massive performance issues.
@@ -220,7 +220,7 @@ MERCURE_JWT_SECRET="{!SECRET!!KEY!-32_3-!}"
220220
# Configure your media URL correctly:
221221
KBIN_STORAGE_URL=https://domain.tld/media
222222

223-
# Ubuntu 22.04 installs PostgreSQL v14 by default, Debian 12 PostgreSQL v15 is the default
223+
# Ubuntu 24.04 installs PostgreSQL v16 by default, Debian 12 PostgreSQL v15 is the default
224224
POSTGRES_VERSION=18
225225

226226
# Configure email, eg. using SMTP
@@ -271,7 +271,7 @@ See also: [Mbin config files](../02-configuration/01-mbin_config_files.md) for m
271271
Edit some PHP settings within your `php.ini` file:
272272

273273
```bash
274-
sudo nano /etc/php/8.4/fpm/php.ini
274+
sudo nano /etc/php/8.5/fpm/php.ini
275275
```
276276

277277
```ini
@@ -315,7 +315,7 @@ More info: [Symfony Performance docs](https://symfony.com/doc/current/performanc
315315
Edit your PHP `www.conf` file as well, to increase the amount of PHP child processes (optional):
316316

317317
```bash
318-
sudo nano /etc/php/8.4/fpm/pool.d/www.conf
318+
sudo nano /etc/php/8.5/fpm/pool.d/www.conf
319319
```
320320

321321
With the content (these are personal preferences, adjust to your needs):
@@ -331,7 +331,7 @@ pm.max_spare_servers = 10
331331
Be sure to restart (or reload) the PHP-FPM service after you applied any changing to the `php.ini` file:
332332

333333
```bash
334-
sudo systemctl restart php8.4-fpm.service
334+
sudo systemctl restart php8.5-fpm.service
335335
```
336336

337337
### Composer
@@ -479,13 +479,13 @@ curl -1sLf "https://keys.openpgp.org/vks/v1/by-fingerprint/0A9AF2115F4687BD29803
479479
sudo tee /etc/apt/sources.list.d/rabbitmq.list <<EOF
480480
## Modern Erlang/OTP releases
481481
##
482-
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-erlang/ubuntu/jammy jammy main
483-
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-erlang/ubuntu/jammy jammy main
482+
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-erlang/ubuntu/noble noble main
483+
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-erlang/ubuntu/noble noble main
484484
485485
## Latest RabbitMQ releases
486486
##
487-
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/jammy jammy main
488-
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-server/ubuntu/jammy jammy main
487+
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble noble main
488+
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-server/ubuntu/noble noble main
489489
EOF
490490

491491
## Update package indices

docs/02-admin/FAQ.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Followed by restarting the services that are depending on the (new) configuratio
185185

186186
```bash
187187
# Clear PHP Opcache by restarting the PHP FPM service
188-
sudo systemctl restart php8.4-fpm.service
188+
sudo systemctl restart php8.5-fpm.service
189189
190190
# Restarting the PHP messenger jobs and Mercure service (also reread the latest configuration)
191191
sudo supervisorctl reread && sudo supervisorctl update && sudo supervisorctl restart all

docs/03-contributing/01-getting_started.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ For more information, read the [Testing](#testing) section on this page.
9797
9898
Requirements:
9999
100-
- PHP v8.3 or higher
100+
- PHP v8.5 or higher
101101
- NodeJS v20 or higher
102102
- Valkey / KeyDB / Redis (pick one)
103103
- PostgreSQL
@@ -135,18 +135,18 @@ git clone git@github.com:MbinOrg/mbin.git
135135
1. Install PHP + additional PHP extensions:
136136
137137
```sh
138-
sudo apt install php8.4 php8.4-common php8.4-fpm php8.4-cli php8.4-amqp php8.4-bcmath php8.4-pgsql php8.4-gd php8.4-curl php8.4-xml php8.4-redis php8.4-mbstring php8.4-zip php8.4-bz2 php8.4-intl php8.4-bcmath -y
138+
sudo apt install php8.5 php8.5-common php8.5-fpm php8.5-cli php8.5-amqp php8.5-bcmath php8.5-pgsql php8.5-gd php8.5-curl php8.5-xml php8.5-redis php8.5-mbstring php8.5-zip php8.5-bz2 php8.5-intl php8.5-bcmath -y
139139
```
140140
141141
2. Fine-tune PHP settings:
142142
143-
- Increase execution time in PHP config file: `/etc/php/8.4/fpm/php.ini`:
143+
- Increase execution time in PHP config file: `/etc/php/8.5/fpm/php.ini`:
144144
145145
```ini
146146
max_execution_time = 120
147147
```
148148
149-
- _Optional:_ Increase/set max_nesting_level in `/etc/php/8.4/fpm/conf.d/20-xdebug.ini` (in case you have the `xdebug` extension installed):
149+
- _Optional:_ Increase/set max_nesting_level in `/etc/php/8.5/fpm/conf.d/20-xdebug.ini` (in case you have the `xdebug` extension installed):
150150
151151
```ini
152152
xdebug.max_nesting_level=512
@@ -155,7 +155,7 @@ xdebug.max_nesting_level=512
155155
3. Restart the PHP-FPM service:
156156
157157
```sh
158-
sudo systemctl restart php8.4-fpm.service
158+
sudo systemctl restart php8.5-fpm.service
159159
```
160160
161161
### Prepare PostgreSQL DB
@@ -315,19 +315,19 @@ For more info read: [Symfony Testing guide](https://symfony.com/doc/current/test
315315
316316
### Prepare testing
317317
318-
1. First increase execution time in your PHP config file: `/etc/php/8.4/fpm/php.ini`:
318+
1. First increase execution time in your PHP config file: `/etc/php/8.5/fpm/php.ini`:
319319
320320
```ini
321321
max_execution_time = 120
322322
```
323323
324-
2. _Optional:_ Increase/set max_nesting_level in `/etc/php/8.4/fpm/conf.d/20-xdebug.ini` (in case you have the `xdebug` extension installed):
324+
2. _Optional:_ Increase/set max_nesting_level in `/etc/php/8.5/fpm/conf.d/20-xdebug.ini` (in case you have the `xdebug` extension installed):
325325
326326
```ini
327327
xdebug.max_nesting_level=512
328328
```
329329
330-
3. Restart the PHP-FPM service: `sudo systemctl restart php8.4-fpm.service`
330+
3. Restart the PHP-FPM service: `sudo systemctl restart php8.5-fpm.service`
331331
4. Copy the dot env file (if you haven't already): `cp .env.example .env`
332332
5. Install composer packages: `composer install --no-scripts`
333333

0 commit comments

Comments
 (0)