MDL-20716 json PHP extension is required in Moodle 2.0
[moodle.git] / admin / environment.xml
CommitLineData
95e8227b 1<?xml version="1.0" encoding="UTF-8" ?>
2<COMPATIBILITY_MATRIX>
302c93ae 3 <MOODLE version="1.5">
95e8227b 4 <DATABASE level="required">
302c93ae 5 <VENDOR name="mysql" version="3.23" />
6 <VENDOR name="postgres" version="7.4" />
95e8227b 7 </DATABASE>
302c93ae 8 <PHP version="4.1.0" level="required" />
5deb5563 9 <PHP_EXTENSIONS>
36372e0c 10 <PHP_EXTENSION name="mbstring" level="optional" />
5deb5563 11 </PHP_EXTENSIONS>
95e8227b 12 </MOODLE>
302c93ae 13 <MOODLE version="1.6">
95e8227b 14 <DATABASE level="required">
d24e8b25 15 <VENDOR name="mysql" version="4.1.16">
16 <FEEDBACK>
b9993e95 17 <ON_ERROR message="mysql416required" />
d24e8b25 18 </FEEDBACK>
b9993e95 19 <BYPASS function="bypass_mysql416_reqs" message="mysql416bypassed" />
d24e8b25 20 </VENDOR>
302c93ae 21 <VENDOR name="postgres" version="7.4" />
95e8227b 22 </DATABASE>
5deb5563 23 <PHP version="4.3.0" level="required" />
24 <PHP_EXTENSIONS>
d24e8b25 25 <PHP_EXTENSION name="iconv" level="optional">
26 <FEEDBACK>
27 <ON_CHECK message="iconvrecommended" />
28 </FEEDBACK>
29 </PHP_EXTENSION>
8dc725d9 30 <PHP_EXTENSION name="mbstring" level="optional">
d24e8b25 31 <FEEDBACK>
de36987b 32 <ON_CHECK message="mbstringrecommended" />
d24e8b25 33 </FEEDBACK>
34 </PHP_EXTENSION>
5deb5563 35 </PHP_EXTENSIONS>
95e8227b 36 </MOODLE>
2d2f440b 37 <MOODLE version="1.7">
a392be33 38 <UNICODE level="optional">
39 <FEEDBACK>
40 <ON_CHECK message="unicoderecommended" />
41 </FEEDBACK>
42 </UNICODE>
43 <DATABASE level="required">
44 <VENDOR name="mysql" version="4.1.16">
45 <FEEDBACK>
46 <ON_ERROR message="mysql416required" />
47 </FEEDBACK>
48 <BYPASS function="bypass_mysql416_reqs" message="mysql416bypassed" />
49 </VENDOR>
50 <VENDOR name="postgres" version="7.4" />
51 <VENDOR name="mssql" version="9.0" />
52 <VENDOR name="odbc_mssql" version="9.0" />
53 <VENDOR name="mssql_n" version="9.0" />
54 <VENDOR name="oracle" version="9.0" />
55 </DATABASE>
56 <PHP version="4.3.0" level="required">
57 <RESTRICT function="restrict_php50_version" message="php50restricted" />
58 </PHP>
59 <PHP_EXTENSIONS>
60 <PHP_EXTENSION name="iconv" level="optional">
61 <FEEDBACK>
62 <ON_CHECK message="iconvrecommended" />
63 </FEEDBACK>
64 </PHP_EXTENSION>
65 <PHP_EXTENSION name="mbstring" level="optional">
66 <FEEDBACK>
67 <ON_CHECK message="mbstringrecommended" />
68 </FEEDBACK>
69 </PHP_EXTENSION>
70 </PHP_EXTENSIONS>
71 </MOODLE>
72 <MOODLE version="1.8">
73 <UNICODE level="required">
74 <FEEDBACK>
75 <ON_ERROR message="unicoderequired" />
76 </FEEDBACK>
77 </UNICODE>
2d2f440b 78 <DATABASE level="required">
79 <VENDOR name="mysql" version="4.1.16">
80 <FEEDBACK>
81 <ON_ERROR message="mysql416required" />
82 </FEEDBACK>
2d2f440b 83 </VENDOR>
84 <VENDOR name="postgres" version="7.4" />
9b3bacf0 85 <VENDOR name="mssql" version="9.0" />
97ab73aa 86 <VENDOR name="odbc_mssql" version="9.0" />
f9ec4d37 87 <VENDOR name="mssql_n" version="9.0" />
2d2f440b 88 <VENDOR name="oracle" version="9.0" />
89 </DATABASE>
b399c397 90 <PHP version="4.3.0" level="required">
91 <RESTRICT function="restrict_php50_version" message="php50restricted" />
92 </PHP>
2d2f440b 93 <PHP_EXTENSIONS>
94 <PHP_EXTENSION name="iconv" level="optional">
95 <FEEDBACK>
96 <ON_CHECK message="iconvrecommended" />
97 </FEEDBACK>
98 </PHP_EXTENSION>
99 <PHP_EXTENSION name="mbstring" level="optional">
100 <FEEDBACK>
101 <ON_CHECK message="mbstringrecommended" />
102 </FEEDBACK>
103 </PHP_EXTENSION>
d14383e0 104 <PHP_EXTENSION name="curl" level="optional">
105 <FEEDBACK>
106 <ON_CHECK message="curlrecommended" />
107 </FEEDBACK>
108 </PHP_EXTENSION>
81243438 109 <PHP_EXTENSION name="openssl" level="optional">
110 <FEEDBACK>
111 <ON_CHECK message="opensslrecommended" />
112 </FEEDBACK>
113 </PHP_EXTENSION>
44537915 114 <PHP_EXTENSION name="tokenizer" level="optional">
115 <FEEDBACK>
116 <ON_CHECK message="tokenizerrecommended" />
117 </FEEDBACK>
118 </PHP_EXTENSION>
e4b89caa 119 <PHP_EXTENSION name="xmlrpc" level="optional">
120 <FEEDBACK>
121 <ON_CHECK message="xmlrpcrecommended" />
122 </FEEDBACK>
123 </PHP_EXTENSION>
fc731c4d 124 <PHP_EXTENSION name="ctype" level="optional">
125 <FEEDBACK>
126 <ON_CHECK message="ctyperecommended" />
127 </FEEDBACK>
128 </PHP_EXTENSION>
2d2f440b 129 </PHP_EXTENSIONS>
130 </MOODLE>
bac40536 131 <MOODLE version="1.9">
132 <UNICODE level="required">
133 <FEEDBACK>
134 <ON_ERROR message="unicoderequired" />
135 </FEEDBACK>
136 </UNICODE>
137 <DATABASE level="required">
138 <VENDOR name="mysql" version="4.1.16">
139 <FEEDBACK>
140 <ON_ERROR message="mysql416required" />
141 </FEEDBACK>
bac40536 142 </VENDOR>
8baf4a77 143 <VENDOR name="postgres" version="8.0" />
bac40536 144 <VENDOR name="mssql" version="9.0" />
145 <VENDOR name="odbc_mssql" version="9.0" />
146 <VENDOR name="mssql_n" version="9.0" />
147 <VENDOR name="oracle" version="9.0" />
148 </DATABASE>
149 <PHP version="4.3.0" level="required">
150 <RESTRICT function="restrict_php50_version" message="php50restricted" />
151 </PHP>
152 <PHP_EXTENSIONS>
153 <PHP_EXTENSION name="iconv" level="optional">
154 <FEEDBACK>
155 <ON_CHECK message="iconvrecommended" />
156 </FEEDBACK>
157 </PHP_EXTENSION>
158 <PHP_EXTENSION name="mbstring" level="optional">
5460bdd8 159 <FEEDBACK>
160 <ON_CHECK message="mbstringrecommended" />
161 </FEEDBACK>
162 </PHP_EXTENSION>
163 <PHP_EXTENSION name="curl" level="optional">
164 <FEEDBACK>
165 <ON_CHECK message="curlrecommended" />
166 </FEEDBACK>
167 </PHP_EXTENSION>
168 <PHP_EXTENSION name="openssl" level="optional">
169 <FEEDBACK>
170 <ON_CHECK message="opensslrecommended" />
171 </FEEDBACK>
172 </PHP_EXTENSION>
173 <PHP_EXTENSION name="tokenizer" level="optional">
174 <FEEDBACK>
175 <ON_CHECK message="tokenizerrecommended" />
176 </FEEDBACK>
177 </PHP_EXTENSION>
e4b89caa 178 <PHP_EXTENSION name="xmlrpc" level="optional">
179 <FEEDBACK>
180 <ON_CHECK message="xmlrpcrecommended" />
181 </FEEDBACK>
182 </PHP_EXTENSION>
bbbfc057 183 <PHP_EXTENSION name="ctype" level="optional">
184 <FEEDBACK>
185 <ON_CHECK message="ctyperecommended" />
186 </FEEDBACK>
187 </PHP_EXTENSION>
14c87a1f
PS
188 <PHP_EXTENSION name="pcre" level="required">
189 </PHP_EXTENSION>
5460bdd8 190 </PHP_EXTENSIONS>
191 <CUSTOM_CHECKS>
354e55a7 192 <CUSTOM_CHECK file="question/upgrade.php" function="question_check_no_rqp_questions" level="optional">
193 <FEEDBACK>
194 <ON_CHECK message="qtyperqpwillberemovedanyway" />
195 <ON_OK message="qtyperqpwillberemoved" />
196 </FEEDBACK>
197 </CUSTOM_CHECK>
198 <CUSTOM_CHECK file="question/upgrade.php" function="question_random_check" level="optional">
199 <FEEDBACK>
200 <ON_OK message="questioncwqpfsok" />
201 </FEEDBACK>
202 </CUSTOM_CHECK>
627d326a 203 <CUSTOM_CHECK file="lib/customcheckslib.php" function="php_check_register_globals" level="required">
aa9c6b6b 204 <FEEDBACK>
f7ca1b7e 205 <ON_CHECK message="globalswarning" />
aa9c6b6b 206 </FEEDBACK>
207 </CUSTOM_CHECK>
5460bdd8 208 </CUSTOM_CHECKS>
209 </MOODLE>
8e3f40fb 210 <MOODLE version="2.0" requires="1.9">
5460bdd8 211 <UNICODE level="required">
212 <FEEDBACK>
213 <ON_ERROR message="unicoderequired" />
214 </FEEDBACK>
215 </UNICODE>
216 <DATABASE level="required">
d4e15ca3 217 <VENDOR name="mysql" version="5.0.25">
5460bdd8 218 <FEEDBACK>
219 <ON_ERROR message="mysql416required" />
220 </FEEDBACK>
5460bdd8 221 </VENDOR>
d4e15ca3 222 <VENDOR name="postgres" version="8.3" />
5460bdd8 223 <VENDOR name="mssql" version="9.0" />
224 <VENDOR name="odbc_mssql" version="9.0" />
225 <VENDOR name="mssql_n" version="9.0" />
2c516959 226 <VENDOR name="oracle" version="10.2" />
55946ffd 227 <VENDOR name="sqlite" version="2.0" />
5460bdd8 228 </DATABASE>
6e66ecbe 229 <PHP version="5.2.8" level="required">
5460bdd8 230 </PHP>
231 <PHP_EXTENSIONS>
5552c5cc 232 <PHP_EXTENSION name="iconv" level="required">
5460bdd8 233 <FEEDBACK>
5552c5cc 234 <ON_CHECK message="iconvrequired" />
5460bdd8 235 </FEEDBACK>
236 </PHP_EXTENSION>
237 <PHP_EXTENSION name="mbstring" level="optional">
bac40536 238 <FEEDBACK>
239 <ON_CHECK message="mbstringrecommended" />
240 </FEEDBACK>
241 </PHP_EXTENSION>
2867b116 242 <PHP_EXTENSION name="curl" level="required">
bac40536 243 <FEEDBACK>
2867b116 244 <ON_CHECK message="curlrequired" />
bac40536 245 </FEEDBACK>
246 </PHP_EXTENSION>
247 <PHP_EXTENSION name="openssl" level="optional">
248 <FEEDBACK>
249 <ON_CHECK message="opensslrecommended" />
250 </FEEDBACK>
251 </PHP_EXTENSION>
252 <PHP_EXTENSION name="tokenizer" level="optional">
253 <FEEDBACK>
254 <ON_CHECK message="tokenizerrecommended" />
255 </FEEDBACK>
256 </PHP_EXTENSION>
ff7dd386 257 <PHP_EXTENSION name="xmlrpc" level="optional">
e4b89caa 258 <FEEDBACK>
ff7dd386 259 <ON_CHECK message="xmlrpcrecommended" />
e4b89caa 260 </FEEDBACK>
261 </PHP_EXTENSION>
621c6464
PS
262 <PHP_EXTENSION name="soap" level="optional">
263 <FEEDBACK>
264 <ON_CHECK message="soaprecommended" />
265 </FEEDBACK>
266 </PHP_EXTENSION>
ed94cb66 267 <PHP_EXTENSION name="ctype" level="required">
bbbfc057 268 <FEEDBACK>
269 <ON_ERROR message="ctyperequired" />
270 </FEEDBACK>
271 </PHP_EXTENSION>
ed94cb66 272 <PHP_EXTENSION name="zip" level="required">
273 <FEEDBACK>
274 <ON_ERROR message="ziprequired" />
275 </FEEDBACK>
276 </PHP_EXTENSION>
c808379e 277 <PHP_EXTENSION name="gd" level="optional">
278 <FEEDBACK>
279 <ON_CHECK message="gdrecommended" />
280 </FEEDBACK>
281 </PHP_EXTENSION>
b004fca1 282 <PHP_EXTENSION name="simplexml" level="required">
283 <FEEDBACK>
284 <ON_CHECK message="simplexmlrequired" />
285 </FEEDBACK>
286 </PHP_EXTENSION>
1f409159
PS
287 <PHP_EXTENSION name="spl" level="required">
288 <FEEDBACK>
289 <ON_CHECK message="splrequired" />
290 </FEEDBACK>
291 </PHP_EXTENSION>
14c87a1f
PS
292 <PHP_EXTENSION name="pcre" level="required">
293 </PHP_EXTENSION>
2d4d7747
PS
294 <PHP_EXTENSION name="dom" level="required">
295 </PHP_EXTENSION>
296 <PHP_EXTENSION name="xml" level="required">
297 </PHP_EXTENSION>
8b0846f7
PS
298 <PHP_EXTENSION name="intl" level="optional">
299 <FEEDBACK>
300 <ON_CHECK message="intlrecommended" />
301 </FEEDBACK>
302 </PHP_EXTENSION>
1eb7e229
PS
303 <PHP_EXTENSION name="json" level="required">
304 </PHP_EXTENSION>
bac40536 305 </PHP_EXTENSIONS>
c808379e 306 <PHP_SETTINGS>
307 <PHP_SETTING name="memory_limit" value="40M" level="required">
aa9c6b6b 308 <FEEDBACK>
c808379e 309 <ON_ERROR message="settingmemorylimit" />
aa9c6b6b 310 </FEEDBACK>
c808379e 311 </PHP_SETTING>
312 <PHP_SETTING name="safe_mode" value="0" level="optional">
313 <FEEDBACK>
314 <ON_CHECK message="settingsafemode" />
315 </FEEDBACK>
316 </PHP_SETTING>
317 <PHP_SETTING name="file_uploads" value="1" level="optional">
318 <FEEDBACK>
319 <ON_CHECK message="settingfileuploads" />
320 </FEEDBACK>
321 </PHP_SETTING>
322 </PHP_SETTINGS>
323 <CUSTOM_CHECKS>
bac40536 324 </CUSTOM_CHECKS>
325 </MOODLE>
95e8227b 326</COMPATIBILITY_MATRIX>