1- # endava/docker-php:8.3 .x-ubuntu
1+ # endava/docker-php:8.5 .x-ubuntu
22
33## Usage
44
@@ -12,7 +12,7 @@ $ echo '<?php phpinfo();' > public/index.php
12122 . Run the NGINX Unit Version with:
1313
1414``` shell
15- $ docker run --rm -p 8080:8080 -v ` pwd` /public:/usr/src/app/public -it endava/php:8.3.2 -ubuntu-unit
15+ $ docker run --rm -p 8080:8080 -v ` pwd` /public:/usr/src/app/public -it endava/php:8.5.1 -ubuntu-unit
1616```
1717
1818and open http://localhost:8080 to see phpinfo unit.
@@ -26,7 +26,7 @@ Time per request: 12.144 [ms] (mean)
26263. Run the Apache2 Version with:
2727
2828` ` ` shell
29- $ docker run --rm -p 8080:8080 -v ` pwd` /public:/usr/src/app/public -it endava/php:8.3.2 -ubuntu-apache2
29+ $ docker run --rm -p 8080:8080 -v ` pwd` /public:/usr/src/app/public -it endava/php:8.5.1 -ubuntu-apache2
3030` ` `
3131
3232and open http://localhost:8080 to see phpinfo on apache2.
@@ -48,15 +48,15 @@ version: "2.1"
4848
4949services:
5050 php-cli:
51- image: endava/php:8.3.2 -ubuntu
51+ image: endava/php:8.5.1 -ubuntu
5252 volumes:
5353 - ./:/usr/src/app
5454 user: " ${UID-www-data} :${GID-www-data} "
5555 entrypoint: bash
5656 depends_on:
5757 - nginx
5858 php-fpm:
59- image: endava/php:8.3.2 -ubuntu-fpm
59+ image: endava/php:8.5.1 -ubuntu-fpm
6060 user: " ${UID-www-data} :${GID-www-data} "
6161 volumes:
6262 - ./:/usr/src/app
@@ -99,11 +99,11 @@ $docker-compose run php-cli
9999⠿ Container docker-php-php-fpm-1
100100⠿ Container docker-php-nginx-1
101101bash-5.1$ php -v
102- PHP 8.3.2 -1+ubuntu22.04.1+deb.sury.org+1 (cli) (built: Jan 20 2024 14:16:40) (NTS)
102+ PHP 8.5.1 -1+ubuntu22.04.1+deb.sury.org+1 (cli) (built: Jan 9 2026 14:16:40) (NTS)
103103Copyright (c) The PHP Group
104- Zend Engine v4.3.2 , Copyright (c) Zend Technologies
105- with Zend OPcache v8.3.2 -1+ubuntu22.04.1+deb.sury.org+1, Copyright (c), by Zend Technologies
106- with Xdebug v3.3.1 , Copyright (c) 2002-2023 , by Derick Rethans
104+ Zend Engine v4.5.1 , Copyright (c) Zend Technologies
105+ with Zend OPcache v8.5.1 -1+ubuntu22.04.1+deb.sury.org+1, Copyright (c), by Zend Technologies
106+ with Xdebug v3.5.0 , Copyright (c) 2002-2026 , by Derick Rethans
107107` ` `
108108
109109and open http://localhost:8080/ to see phpinfo with FPM/FastCGI as server api.
@@ -250,7 +250,7 @@ You can define the crontab's content with an environment variable like this:
250250```yaml
251251services:
252252 import-data-cron:
253- image: endava/php:8.3.2 -ubuntu
253+ image: endava/php:8.5.1 -ubuntu
254254 command: start-cron
255255 environment:
256256 - ' CRONTAB_USER=www-data'
@@ -294,7 +294,7 @@ Usage in your `docker-compose.yml`:
294294```yaml
295295services:
296296 crontab:
297- image: endava/php:8.3.2 -ubuntu
297+ image: endava/php:8.5.1 -ubuntu
298298 command: start-cron
299299 volumes:
300300 - ./:/usr/src/app
@@ -307,7 +307,7 @@ cron location with the `CRON_PATH` environment variable:
307307```yaml
308308services:
309309 crontab:
310- image: endava/php:8.3.2 -ubuntu
310+ image: endava/php:8.5.1 -ubuntu
311311 command: start-cron
312312 environment:
313313 - CRON_PATH=/usr/src/app/crontabs
0 commit comments