@@ -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:
4949sudo 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
5555sudo add-apt-repository ppa:ondrej/php -y
@@ -64,15 +64,15 @@ sudo dpkg -i /tmp/debsuryorg-archive-keyring.deb
6464sudo 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
7070sudo 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:
221221KBIN_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
224224POSTGRES_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
271271Edit 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
315315Edit 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
321321With the content (these are personal preferences, adjust to your needs):
@@ -331,7 +331,7 @@ pm.max_spare_servers = 10
331331Be 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
479479sudo 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
489489EOF
490490
491491# # Update package indices
0 commit comments