Skip to content

Commit

Permalink
Docker: Use PHP 8.2 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 23, 2024
1 parent b48d8ea commit 83f450a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/local-env/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
wordpress:
image: wordpress:php${PHP_VERSION:-7.4}
image: wordpress:php${PHP_VERSION:-8.2}
ports:
- '127.0.0.1:8899:80'
environment:
Expand All @@ -25,7 +25,7 @@ services:
- mysql

cli:
image: wordpress:cli-php${PHP_VERSION:-7.4}
image: wordpress:cli-php${PHP_VERSION:-8.2}
user: xfs
environment:
WORDPRESS_DB_HOST: mysql
Expand Down
2 changes: 1 addition & 1 deletion docs/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ Whether to open dev tools during tests. Default: `false`
## Local Environment

**PHP_VERSION** (string):
PHP version which local environment runs in. Default: `7.4`
PHP version which local environment runs in. Default: `8.2`

0 comments on commit 83f450a

Please sign in to comment.