|
1 | | -# Docker PHP-FPM 8.1 & Nginx 1.24 on Alpine Linux |
2 | | -Example PHP-FPM 8.1 & Nginx 1.24 container image for Docker, built on [Alpine Linux](https://www.alpinelinux.org/). |
| 1 | +# Docker PHP-FPM 8.2 & Nginx 1.24 on Alpine Linux |
| 2 | +Example PHP-FPM 8.2 & Nginx 1.24 container image for Docker, built on [Alpine Linux](https://www.alpinelinux.org/). |
3 | 3 |
|
4 | 4 | Repository: https://github.com/TrafeX/docker-php-nginx |
5 | 5 |
|
6 | 6 |
|
7 | 7 | * Built on the lightweight and secure Alpine Linux distribution |
8 | 8 | * Multi-platform, supporting AMD4, ARMv6, ARMv7, ARM64 |
9 | 9 | * Very small Docker image size (+/-40MB) |
10 | | -* Uses PHP 8.1 for better performance, lower CPU usage & memory footprint |
| 10 | +* Uses PHP 8.2 for the best performance, low CPU usage & memory footprint |
11 | 11 | * Optimized for 100 concurrent users |
12 | 12 | * Optimized to only use resources when there's traffic (by using PHP-FPM's `on-demand` process manager) |
13 | 13 | * The services Nginx, PHP-FPM and supervisord run under a non-privileged user (nobody) to make it more secure |
14 | 14 | * The logs of all the services are redirected to the output of the Docker container (visible with `docker logs -f <container name>`) |
15 | 15 | * Follows the KISS principle (Keep It Simple, Stupid) to make it easy to understand and adjust the image to your needs |
16 | 16 |
|
17 | 17 | [](https://hub.docker.com/r/trafex/php-nginx/) |
18 | | - |
19 | | - |
| 18 | + |
| 19 | + |
20 | 20 |  |
21 | 21 |
|
22 | 22 | ## [](https://timdepater.com?mtm_campaign=github) |
@@ -55,7 +55,7 @@ Nginx configuration: |
55 | 55 |
|
56 | 56 | PHP configuration: |
57 | 57 |
|
58 | | - docker run -v "`pwd`/php-setting.ini:/etc/php81/conf.d/settings.ini" trafex/php-nginx |
| 58 | + docker run -v "`pwd`/php-setting.ini:/etc/php82/conf.d/settings.ini" trafex/php-nginx |
59 | 59 |
|
60 | 60 | PHP-FPM configuration: |
61 | 61 |
|
|
0 commit comments