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).
41
41
* Autobuilt from GHA, on push.
42
42
* Support for entrypoint scripts and PHP Configuration
43
+
* Many common extensions available
43
44
44
45
## Directories
45
46
To facilitate testing and easy setup the following directories are created and owned by www-data by default:
@@ -90,7 +91,74 @@ docker run \
90
91
moodle-php-apache:latest
91
92
```
92
93
94
+
## Extensions
95
+
96
+
The following extensions are inluded as standard:
97
+
98
+
* apcu
99
+
* exif
100
+
* gd
101
+
* igbinary
102
+
* intl
103
+
* ldap
104
+
* memcached
105
+
* mysqli
106
+
* oci8
107
+
* opcache
108
+
* pcov
109
+
* pgsql
110
+
* redis
111
+
* soap
112
+
* solr
113
+
* sqlsrv
114
+
* timezonedb
115
+
* uuid
116
+
* xdebug
117
+
* xhprof
118
+
* xmlrpc-beta
119
+
* xsl
120
+
* zip
121
+
122
+
All of the above extensions are enabled by default, except for:
123
+
124
+
* pcov
125
+
* xdebug
126
+
* xhprof
127
+
128
+
### Enabling optional extensions
129
+
130
+
Several extensions are installed, but not enabled. You can enable them easily.
131
+
132
+
### xdebug
133
+
134
+
The `xdebug` extension can be enabled by specifying the following environment variable when starting the container:
135
+
136
+
```bash
137
+
PHP_EXTENSION_xdebug=1
138
+
```
139
+
140
+
### xhprof
141
+
142
+
The `xdebug` extension can be enabled by specifying the following environment variable when starting the container:
143
+
144
+
```bash
145
+
PHP_EXTENSION_xhprof=1
146
+
```
147
+
148
+
#### pcov
149
+
150
+
The `pcov` extension is typically not used in the web UI, and is no longer recommended for use in code coverage generation in the CLI.
151
+
152
+
It is currently included but may be removed at a later date.
153
+
154
+
It can be enabled by specifying the following environment variable when starting the container:
155
+
156
+
```bash
157
+
PHP_INI-pcov.enabled=1
158
+
```
159
+
93
160
## See also
161
+
94
162
This container is part of a set of containers for Moodle development, see also:
95
163
96
164
*[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