Sign inSign up

andrewnicols/moodle-php-apache

By andrewnicols

Updated over 7 years ago

moodle-php-apache

Image
0

556

andrewnicols/moodle-php-apache repository overview

moodle-php-apache: A Moodle PHP Environment

A Moodle PHP environment configured for Moodle development based on Official PHP Images.

Versions
PHP VersionVariantTagsStatus
PHP 7.1Stretch7.1, 7.1-stretchBuild Status
PHP 7.0Stretch7.0, 7.0-stretchBuild Status
PHP 5.6Stretch5.6, 5.6-stretchBuild Status
PHP 7.1Jessie7.1-jessieBuild Status
PHP 7.0Jessie7.0-jessieBuild Status
PHP 5.6Jessie5.6-jessieBuild Status

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:

Tag summary

Content type

Image

Digest

Size

260.6 MB

Last updated

over 7 years ago

docker pull andrewnicols/moodle-php-apache:complete_rewrite