moodle-php-apache: A Moodle PHP Environment
A Moodle PHP environment configured for Moodle development based on Official PHP Images.
Versions
PHP Version | Tag | Status |
---|---|---|
PHP 7.1 | 7.1 | |
PHP 7.0 | 7.0 | |
PHP 5.6 | 5.6 |
Example usage
The following command will expose the current working directory on port 8080:
$ docker run --name web0 -p 8080:80 -v $PWD:/var/www/html moodlehq/moodle-php-apache:7.1
Features
- Preconfigured with all php extensions required for Moodle development and all database drivers
- Serves wwroot configured at /var/www/html/
- Verified by automated tests
Directories
To faciliate testing and easy setup the following directories are created and owned by www-data by default:
/var/www/moodledata
/var/www/phpunitdata
/var/www/behatdata
/var/www/behatfaildumps
See also
This container is part of a set of containers for Moodle development, see also:
- moodle-docker a docker-composer based set of tools to get Moodle development running with zero configuration
- moodle-db-mssql Microsoft SQL Server for Linux configured for Moodle development
- moodle-db-oracle Oracle XE configured for Moodle development