Skip to content

PHP + Apache docker images for Moodle development

Notifications You must be signed in to change notification settings

slva/moodle-php-apache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moodle-php-apache: A Moodle PHP Environment

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

Versions

PHP Version Variant Tags Status Notes
PHP 7.3 Stretch 7.3, 7.3-stretch Build Status
PHP 7.2 Stretch 7.2, 7.2-stretch Build Status
PHP 7.1 Stretch 7.1, 7.1-stretch Build Status
PHP 7.0 Stretch 7.0, 7.0-stretch Build Status PHP 7.0 EOL
PHP 5.6 Stretch 5.6, 5.6-stretch Build Status PHP 5.6 EOL
PHP 7.1 Jessie 7.1-jessie Build Status Jessie EOL
PHP 7.0 Jessie 7.0-jessie Build Status Jessie and PHP 7.0 EOL
PHP 5.6 Jessie 5.6-jessie Build Status Jessie and PHP 5.6 EOL

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

About

PHP + Apache docker images for Moodle development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 91.5%
  • Dockerfile 8.5%