mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #66757
[Bug 1955620] A change has been merged
Reviewed: https://reviews.mahara.org/c/mahara/+/12322
Committed: https://git.mahara.org/mahara/mahara/commit/7bfda9803d9db4b1e3212f7fc3d33ad3ba5b8cd1
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch: main
commit 7bfda9803d9db4b1e3212f7fc3d33ad3ba5b8cd1
Author: Fergus Whyte <fergusw@xxxxxxxxxxxxxxx>
Date: Thu Dec 23 17:55:37 2021 +1300
Bug 1955620: Adding options for development in PHP 7.4, 8, and 8.1 for
Docker setup
tl;dr;
* Focal added for PHP7.4
* XDebug working in Focal
* Jammy added for PHP8.1
---
Added Focal for PHP 7.4. This is the minimum version of PHP needed for
Behat tests.
To use Focal set DOCKER_PHP_MAJOR_VERSION in the shell you are working
in.
export DOCKER_PHP_MAJOR_VERSION=7.4
XDebug is now available for Focal on port 9000. For VSCode configure
your launch.json file with path mapping set to the path inside the
container.
i.e.
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug in Docker",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/mahara/": "${workspaceFolder}/",
},
"log": true
}
]
}
XDebug is also working for scripts running on the CLI inside
the container.
Added Jammy for PHP 8.1. This is the minimum version of PHP needed for
Behat tests.
To use Focal set DOCKER_PHP_MAJOR_VERSION in the shell you are working
in.
export DOCKER_PHP_MAJOR_VERSION=8.1
Change-Id: Ibd79677ce8ad6a9e9837a6f6049ad36e03fa248b
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1955620
Title:
Add optional docker php 8 environment
Status in Mahara:
Fix Committed
Bug description:
To assist with Updating Mahara to php 8 it would be helpful if there
was a php 8 environment
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1955620/+subscriptions
References