Skip to content

Using PHP 8 in Docker

Jonathan Foote edited this page Feb 21, 2022 · 5 revisions

Using PHP8 in Docker

Note: This is for anyone wishing to try the software locally using PHP 8.1 and Docker. Note that PHP 8 compatibility is still a work in progress.

Also this page is work in progress, we'll complete the instructions once it is ready.

Build:

docker-compose build web-php8

Then the normal:

docker-compose up

After that, you can use Docker desktop. Note that you only need the db container and the web-php8 containers running (and adminer if you need db access).

URL to use

We set it up to have 2 containers, one for PHP 7.4 and one for PHP 8.1. The URL for PHP 8.1 is:

http://localhost:8081

Clone this wiki locally