replace PHP 7.4 with 8.2

Ralf Becker 2024-02-05 10:49:49 +02:00
parent a5e7f2725d
commit 5241d4100d

@ -25,9 +25,9 @@ docker-compose up -d
WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning N children, there are 0 idle, and M total children
```
1. Copy the ```www.conf``` configuration file out of the container (replace 7.4 with the used PHP version!):
1. Copy the ```www.conf``` configuration file out of the container (replace 8.2 with the used PHP version!):
```
docker cp egroupware:/etc/php/7.4/fpm/pool.d/www.conf /etc/egroupware-docker/
docker cp egroupware:/etc/php/8.2/fpm/pool.d/www.conf /etc/egroupware-docker/
```
2. Increase - eg. double - the values for ```pm.start_servers```, ```pm.min_spare_servers``` and ```pm.max_spare_servers```:
```
@ -40,7 +40,7 @@ vi /etc/egroupware-docker/docker-compose.override.yml
services:
egroupware:
volumes:
- /etc/egroupware-docker/www.conf:/etc/php/7.4/fpm/pool.d/www.conf:ro
- /etc/egroupware-docker/www.conf:/etc/php/8.2/fpm/pool.d/www.conf:ro
```
> Indention in YAML files must be done with space (no tabs!) and the indention matters!
4. Restart your egroupware container with the new config: