You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Verified by [automated tests](https://travis-ci.com/moodlehq/moodle-php-apache).
24
24
* Autobuilt from GHA, on push.
25
25
* Support for entrypoint scripts and PHP Configuration
26
+
* Many common extensions available
26
27
27
28
## Directories
28
29
To facilitate testing and easy setup the following directories are created and owned by www-data by default:
@@ -73,7 +74,72 @@ docker run \
73
74
moodle-php-apache:latest
74
75
```
75
76
77
+
## Extensions
78
+
79
+
The following extensions are inluded as standard:
80
+
81
+
* apcu
82
+
* exif
83
+
* gd
84
+
* igbinary
85
+
* intl
86
+
* ldap
87
+
* memcached
88
+
* mysqli
89
+
* oci8
90
+
* opcache
91
+
* pcov
92
+
* pgsql
93
+
* redis
94
+
* soap
95
+
* solr
96
+
* sqlsrv
97
+
* timezonedb
98
+
* uuid
99
+
* xdebug
100
+
* xhprof
101
+
* xmlrpc-beta
102
+
* xsl
103
+
* zip
104
+
105
+
All of the above extensions are enabled by default, except for:
106
+
107
+
* pcov
108
+
* xdebug
109
+
* xhprof
110
+
111
+
### Enabling optional extensions
112
+
113
+
Several extensions are installed, but not enabled. You can enable them easily.
114
+
115
+
### xdebug
116
+
117
+
The `xdebug` extension can be enabled by specifying the following environment variable when starting the container:
118
+
119
+
```bash
120
+
PHP_EXTENSION_xdebug=1
121
+
```
122
+
123
+
### xhprof
124
+
125
+
The `xdebug` extension can be enabled by specifying the following environment variable when starting the container:
126
+
127
+
```bash
128
+
PHP_EXTENSION_xhprof=1
129
+
```
130
+
131
+
#### pcov
132
+
133
+
The `pcov` extension is typically not used in the web UI, but is widely used for code coverage generation in unit testing.
134
+
135
+
It can be enabled by specifying the following environment variable when starting the container:
136
+
137
+
```bash
138
+
PHP_INI-pcov.enabled=1
139
+
```
140
+
76
141
## See also
142
+
77
143
This container is part of a set of containers for Moodle development, see also:
78
144
79
145
*[moodle-docker](https://github.com/moodlehq/moodle-docker) a docker-composer based set of tools to get Moodle development running with zero configuration
0 commit comments