MDL-61138 question: external function to get random question set
[moodle.git] / admin / environment.xml
blob2b8d4ef40e564c8002ca0863628f5be281aafc2a
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <COMPATIBILITY_MATRIX>
3   <MOODLE version="1.5">
4     <DATABASE level="required">
5       <VENDOR name="mysql" version="3.23" />
6       <VENDOR name="postgres" version="7.4" />
7     </DATABASE>
8     <PHP version="4.1.0" level="required" />
9     <PHP_EXTENSIONS>
10       <PHP_EXTENSION name="mbstring" level="optional" />
11     </PHP_EXTENSIONS>
12   </MOODLE>
13   <MOODLE version="1.6">
14     <DATABASE level="required">
15       <VENDOR name="mysql" version="4.1.16">
16         <FEEDBACK>
17           <ON_ERROR message="mysql416required" />
18         </FEEDBACK>
19         <BYPASS function="bypass_mysql416_reqs" message="mysql416bypassed" />
20       </VENDOR>
21       <VENDOR name="postgres" version="7.4" />
22     </DATABASE>
23     <PHP version="4.3.0" level="required" />
24     <PHP_EXTENSIONS>
25       <PHP_EXTENSION name="iconv" level="optional">
26         <FEEDBACK>
27           <ON_CHECK message="iconvrecommended" />
28         </FEEDBACK>
29       </PHP_EXTENSION>
30       <PHP_EXTENSION name="mbstring" level="optional">
31         <FEEDBACK>
32           <ON_CHECK message="mbstringrecommended" />
33         </FEEDBACK>
34       </PHP_EXTENSION>
35     </PHP_EXTENSIONS>
36   </MOODLE>
37   <MOODLE version="1.7">
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>
78     <DATABASE level="required">
79       <VENDOR name="mysql" version="4.1.16">
80         <FEEDBACK>
81           <ON_ERROR message="mysql416required" />
82         </FEEDBACK>
83       </VENDOR>
84       <VENDOR name="postgres" version="7.4" />
85       <VENDOR name="mssql" version="9.0" />
86       <VENDOR name="odbc_mssql" version="9.0" />
87       <VENDOR name="mssql_n" version="9.0" />
88       <VENDOR name="oracle" version="9.0" />
89     </DATABASE>
90     <PHP version="4.3.0" level="required">
91       <RESTRICT function="restrict_php50_version" message="php50restricted" />
92     </PHP>
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>
104       <PHP_EXTENSION name="curl" level="optional">
105         <FEEDBACK>
106           <ON_CHECK message="curlrecommended" />
107         </FEEDBACK>
108       </PHP_EXTENSION>
109       <PHP_EXTENSION name="openssl" level="optional">
110         <FEEDBACK>
111           <ON_CHECK message="opensslrecommended" />
112         </FEEDBACK>
113       </PHP_EXTENSION>
114       <PHP_EXTENSION name="tokenizer" level="optional">
115         <FEEDBACK>
116           <ON_CHECK message="tokenizerrecommended" />
117         </FEEDBACK>
118       </PHP_EXTENSION>
119       <PHP_EXTENSION name="xmlrpc" level="optional">
120         <FEEDBACK>
121           <ON_CHECK message="xmlrpcrecommended" />
122         </FEEDBACK>
123       </PHP_EXTENSION>
124       <PHP_EXTENSION name="ctype" level="optional">
125         <FEEDBACK>
126           <ON_CHECK message="ctyperecommended" />
127         </FEEDBACK>
128       </PHP_EXTENSION>
129     </PHP_EXTENSIONS>
130   </MOODLE>
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>
142       </VENDOR>
143       <VENDOR name="postgres" version="8.0" />
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">
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>
178       <PHP_EXTENSION name="xmlrpc" level="optional">
179         <FEEDBACK>
180           <ON_CHECK message="xmlrpcrecommended" />
181         </FEEDBACK>
182       </PHP_EXTENSION>
183       <PHP_EXTENSION name="ctype" level="optional">
184         <FEEDBACK>
185           <ON_CHECK message="ctyperecommended" />
186         </FEEDBACK>
187       </PHP_EXTENSION>
188       <PHP_EXTENSION name="pcre" level="required">
189       </PHP_EXTENSION>
190     </PHP_EXTENSIONS>
191     <CUSTOM_CHECKS>
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>
203       <CUSTOM_CHECK file="lib/customcheckslib.php" function="php_check_register_globals" level="required">
204         <FEEDBACK>
205           <ON_CHECK message="globalswarning" />
206         </FEEDBACK>
207       </CUSTOM_CHECK>
208     </CUSTOM_CHECKS>
209   </MOODLE>
210   <MOODLE version="2.0" requires="1.9">
211     <UNICODE level="required">
212       <FEEDBACK>
213         <ON_ERROR message="unicoderequired" />
214       </FEEDBACK>
215     </UNICODE>
216     <DATABASE level="required">
217       <VENDOR name="mysql" version="5.0.25" />
218       <VENDOR name="postgres" version="8.3" />
219       <VENDOR name="mssql" version="9.0" />
220       <VENDOR name="odbc_mssql" version="9.0" />
221       <VENDOR name="mssql_n" version="9.0" />
222       <VENDOR name="oracle" version="10.2" />
223       <VENDOR name="sqlite" version="2.0" />
224     </DATABASE>
225     <PHP version="5.2.8" level="required">
226     </PHP>
227     <PHP_EXTENSIONS>
228       <PHP_EXTENSION name="iconv" level="required">
229         <FEEDBACK>
230           <ON_ERROR message="iconvrequired" />
231         </FEEDBACK>
232       </PHP_EXTENSION>
233       <PHP_EXTENSION name="mbstring" level="optional">
234         <FEEDBACK>
235           <ON_CHECK message="mbstringrecommended" />
236         </FEEDBACK>
237       </PHP_EXTENSION>
238       <PHP_EXTENSION name="curl" level="required">
239         <FEEDBACK>
240           <ON_ERROR message="curlrequired" />
241         </FEEDBACK>
242       </PHP_EXTENSION>
243       <PHP_EXTENSION name="openssl" level="optional">
244         <FEEDBACK>
245           <ON_CHECK message="opensslrecommended" />
246         </FEEDBACK>
247       </PHP_EXTENSION>
248       <PHP_EXTENSION name="tokenizer" level="optional">
249         <FEEDBACK>
250           <ON_CHECK message="tokenizerrecommended" />
251         </FEEDBACK>
252       </PHP_EXTENSION>
253       <PHP_EXTENSION name="xmlrpc" level="optional">
254         <FEEDBACK>
255           <ON_CHECK message="xmlrpcrecommended" />
256         </FEEDBACK>
257       </PHP_EXTENSION>
258       <PHP_EXTENSION name="soap" level="optional">
259         <FEEDBACK>
260           <ON_CHECK message="soaprecommended" />
261         </FEEDBACK>
262       </PHP_EXTENSION>
263       <PHP_EXTENSION name="ctype" level="required">
264         <FEEDBACK>
265           <ON_ERROR message="ctyperequired" />
266         </FEEDBACK>
267       </PHP_EXTENSION>
268       <PHP_EXTENSION name="zip" level="required">
269         <FEEDBACK>
270           <ON_ERROR message="ziprequired" />
271         </FEEDBACK>
272       </PHP_EXTENSION>
273       <PHP_EXTENSION name="gd" level="optional">
274         <FEEDBACK>
275           <ON_CHECK message="gdrecommended" />
276         </FEEDBACK>
277       </PHP_EXTENSION>
278       <PHP_EXTENSION name="simplexml" level="required">
279         <FEEDBACK>
280           <ON_ERROR message="simplexmlrequired" />
281         </FEEDBACK>
282       </PHP_EXTENSION>
283       <PHP_EXTENSION name="spl" level="required">
284         <FEEDBACK>
285           <ON_ERROR message="splrequired" />
286         </FEEDBACK>
287       </PHP_EXTENSION>
288       <PHP_EXTENSION name="pcre" level="required">
289       </PHP_EXTENSION>
290       <PHP_EXTENSION name="dom" level="required">
291       </PHP_EXTENSION>
292       <PHP_EXTENSION name="xml" level="required">
293       </PHP_EXTENSION>
294       <PHP_EXTENSION name="intl" level="optional">
295         <FEEDBACK>
296           <ON_CHECK message="intlrecommended" />
297         </FEEDBACK>
298       </PHP_EXTENSION>
299       <PHP_EXTENSION name="json" level="required">
300       </PHP_EXTENSION>
301     </PHP_EXTENSIONS>
302     <PHP_SETTINGS>
303       <PHP_SETTING name="memory_limit" value="40M" level="required">
304         <FEEDBACK>
305           <ON_ERROR message="settingmemorylimit" />
306         </FEEDBACK>
307       </PHP_SETTING>
308       <PHP_SETTING name="safe_mode" value="0" level="optional">
309         <FEEDBACK>
310           <ON_CHECK message="settingsafemode" />
311         </FEEDBACK>
312       </PHP_SETTING>
313       <PHP_SETTING name="file_uploads" value="1" level="optional">
314         <FEEDBACK>
315           <ON_CHECK message="settingfileuploads" />
316         </FEEDBACK>
317       </PHP_SETTING>
318     </PHP_SETTINGS>
319     <CUSTOM_CHECKS>
320       <CUSTOM_CHECK file="lib/customcheckslib.php" function="php_check_php533" level="optional">
321         <FEEDBACK>
322           <ON_CHECK message="php533warning" />
323         </FEEDBACK>
324       </CUSTOM_CHECK>
325     </CUSTOM_CHECKS>
326   </MOODLE>
327   <MOODLE version="2.1" requires="1.9">
328     <UNICODE level="required">
329       <FEEDBACK>
330         <ON_ERROR message="unicoderequired" />
331       </FEEDBACK>
332     </UNICODE>
333     <DATABASE level="required">
334       <VENDOR name="mysql" version="5.0.25" />
335       <VENDOR name="postgres" version="8.3" />
336       <VENDOR name="mssql" version="9.0" />
337       <VENDOR name="odbc_mssql" version="9.0" />
338       <VENDOR name="mssql_n" version="9.0" />
339       <VENDOR name="oracle" version="10.2" />
340       <VENDOR name="sqlite" version="2.0" />
341     </DATABASE>
342     <PHP version="5.3.2" level="required">
343     </PHP>
344     <PHP_EXTENSIONS>
345       <PHP_EXTENSION name="iconv" level="required">
346         <FEEDBACK>
347           <ON_ERROR message="iconvrequired" />
348         </FEEDBACK>
349       </PHP_EXTENSION>
350       <PHP_EXTENSION name="mbstring" level="optional">
351         <FEEDBACK>
352           <ON_CHECK message="mbstringrecommended" />
353         </FEEDBACK>
354       </PHP_EXTENSION>
355       <PHP_EXTENSION name="curl" level="required">
356         <FEEDBACK>
357           <ON_ERROR message="curlrequired" />
358         </FEEDBACK>
359       </PHP_EXTENSION>
360       <PHP_EXTENSION name="openssl" level="optional">
361         <FEEDBACK>
362           <ON_CHECK message="opensslrecommended" />
363         </FEEDBACK>
364       </PHP_EXTENSION>
365       <PHP_EXTENSION name="tokenizer" level="optional">
366         <FEEDBACK>
367           <ON_CHECK message="tokenizerrecommended" />
368         </FEEDBACK>
369       </PHP_EXTENSION>
370       <PHP_EXTENSION name="xmlrpc" level="optional">
371         <FEEDBACK>
372           <ON_CHECK message="xmlrpcrecommended" />
373         </FEEDBACK>
374       </PHP_EXTENSION>
375       <PHP_EXTENSION name="soap" level="optional">
376         <FEEDBACK>
377           <ON_CHECK message="soaprecommended" />
378         </FEEDBACK>
379       </PHP_EXTENSION>
380       <PHP_EXTENSION name="ctype" level="required">
381         <FEEDBACK>
382           <ON_ERROR message="ctyperequired" />
383         </FEEDBACK>
384       </PHP_EXTENSION>
385       <PHP_EXTENSION name="zip" level="required">
386         <FEEDBACK>
387           <ON_ERROR message="ziprequired" />
388         </FEEDBACK>
389       </PHP_EXTENSION>
390       <PHP_EXTENSION name="gd" level="optional">
391         <FEEDBACK>
392           <ON_CHECK message="gdrecommended" />
393         </FEEDBACK>
394       </PHP_EXTENSION>
395       <PHP_EXTENSION name="simplexml" level="required">
396         <FEEDBACK>
397           <ON_ERROR message="simplexmlrequired" />
398         </FEEDBACK>
399       </PHP_EXTENSION>
400       <PHP_EXTENSION name="spl" level="required">
401         <FEEDBACK>
402           <ON_ERROR message="splrequired" />
403         </FEEDBACK>
404       </PHP_EXTENSION>
405       <PHP_EXTENSION name="pcre" level="required">
406       </PHP_EXTENSION>
407       <PHP_EXTENSION name="dom" level="required">
408       </PHP_EXTENSION>
409       <PHP_EXTENSION name="xml" level="required">
410       </PHP_EXTENSION>
411       <PHP_EXTENSION name="intl" level="optional">
412         <FEEDBACK>
413           <ON_CHECK message="intlrecommended" />
414         </FEEDBACK>
415       </PHP_EXTENSION>
416       <PHP_EXTENSION name="json" level="required">
417       </PHP_EXTENSION>
418     </PHP_EXTENSIONS>
419     <PHP_SETTINGS>
420       <PHP_SETTING name="memory_limit" value="40M" level="required">
421         <FEEDBACK>
422           <ON_ERROR message="settingmemorylimit" />
423         </FEEDBACK>
424       </PHP_SETTING>
425       <PHP_SETTING name="safe_mode" value="0" level="optional">
426         <FEEDBACK>
427           <ON_CHECK message="settingsafemode" />
428         </FEEDBACK>
429       </PHP_SETTING>
430       <PHP_SETTING name="file_uploads" value="1" level="optional">
431         <FEEDBACK>
432           <ON_CHECK message="settingfileuploads" />
433         </FEEDBACK>
434       </PHP_SETTING>
435     </PHP_SETTINGS>
436   </MOODLE>
437   <MOODLE version="2.2" requires="1.9">
438     <UNICODE level="required">
439       <FEEDBACK>
440         <ON_ERROR message="unicoderequired" />
441       </FEEDBACK>
442     </UNICODE>
443     <DATABASE level="required">
444       <VENDOR name="mysql" version="5.0.25" />
445       <VENDOR name="postgres" version="8.3" />
446       <VENDOR name="mssql" version="9.0" />
447       <VENDOR name="odbc_mssql" version="9.0" />
448       <VENDOR name="mssql_n" version="9.0" />
449       <VENDOR name="oracle" version="10.2" />
450       <VENDOR name="sqlite" version="2.0" />
451     </DATABASE>
452     <PHP version="5.3.2" level="required">
453     </PHP>
454     <PHP_EXTENSIONS>
455       <PHP_EXTENSION name="iconv" level="required">
456         <FEEDBACK>
457           <ON_ERROR message="iconvrequired" />
458         </FEEDBACK>
459       </PHP_EXTENSION>
460       <PHP_EXTENSION name="mbstring" level="optional">
461         <FEEDBACK>
462           <ON_CHECK message="mbstringrecommended" />
463         </FEEDBACK>
464       </PHP_EXTENSION>
465       <PHP_EXTENSION name="curl" level="required">
466         <FEEDBACK>
467           <ON_ERROR message="curlrequired" />
468         </FEEDBACK>
469       </PHP_EXTENSION>
470       <PHP_EXTENSION name="openssl" level="optional">
471         <FEEDBACK>
472           <ON_CHECK message="opensslrecommended" />
473         </FEEDBACK>
474       </PHP_EXTENSION>
475       <PHP_EXTENSION name="tokenizer" level="optional">
476         <FEEDBACK>
477           <ON_CHECK message="tokenizerrecommended" />
478         </FEEDBACK>
479       </PHP_EXTENSION>
480       <PHP_EXTENSION name="xmlrpc" level="optional">
481         <FEEDBACK>
482           <ON_CHECK message="xmlrpcrecommended" />
483         </FEEDBACK>
484       </PHP_EXTENSION>
485       <PHP_EXTENSION name="soap" level="optional">
486         <FEEDBACK>
487           <ON_CHECK message="soaprecommended" />
488         </FEEDBACK>
489       </PHP_EXTENSION>
490       <PHP_EXTENSION name="ctype" level="required">
491         <FEEDBACK>
492           <ON_ERROR message="ctyperequired" />
493         </FEEDBACK>
494       </PHP_EXTENSION>
495       <PHP_EXTENSION name="zip" level="required">
496         <FEEDBACK>
497           <ON_ERROR message="ziprequired" />
498         </FEEDBACK>
499       </PHP_EXTENSION>
500       <PHP_EXTENSION name="gd" level="optional">
501         <FEEDBACK>
502           <ON_CHECK message="gdrecommended" />
503         </FEEDBACK>
504       </PHP_EXTENSION>
505       <PHP_EXTENSION name="simplexml" level="required">
506         <FEEDBACK>
507           <ON_ERROR message="simplexmlrequired" />
508         </FEEDBACK>
509       </PHP_EXTENSION>
510       <PHP_EXTENSION name="spl" level="required">
511         <FEEDBACK>
512           <ON_ERROR message="splrequired" />
513         </FEEDBACK>
514       </PHP_EXTENSION>
515       <PHP_EXTENSION name="pcre" level="required">
516       </PHP_EXTENSION>
517       <PHP_EXTENSION name="dom" level="required">
518       </PHP_EXTENSION>
519       <PHP_EXTENSION name="xml" level="required">
520       </PHP_EXTENSION>
521       <PHP_EXTENSION name="intl" level="optional">
522         <FEEDBACK>
523           <ON_CHECK message="intlrecommended" />
524         </FEEDBACK>
525       </PHP_EXTENSION>
526       <PHP_EXTENSION name="json" level="required">
527       </PHP_EXTENSION>
528     </PHP_EXTENSIONS>
529     <PHP_SETTINGS>
530       <PHP_SETTING name="memory_limit" value="40M" level="required">
531         <FEEDBACK>
532           <ON_ERROR message="settingmemorylimit" />
533         </FEEDBACK>
534       </PHP_SETTING>
535       <PHP_SETTING name="safe_mode" value="0" level="optional">
536         <FEEDBACK>
537           <ON_CHECK message="settingsafemode" />
538         </FEEDBACK>
539       </PHP_SETTING>
540       <PHP_SETTING name="file_uploads" value="1" level="optional">
541         <FEEDBACK>
542           <ON_CHECK message="settingfileuploads" />
543         </FEEDBACK>
544       </PHP_SETTING>
545     </PHP_SETTINGS>
546   </MOODLE>
547   <MOODLE version="2.3" requires="2.2">
548     <UNICODE level="required">
549       <FEEDBACK>
550         <ON_ERROR message="unicoderequired" />
551       </FEEDBACK>
552     </UNICODE>
553     <DATABASE level="required">
554       <VENDOR name="mysql" version="5.1.33" />
555       <VENDOR name="postgres" version="8.3" />
556       <VENDOR name="mssql" version="9.0" />
557       <VENDOR name="odbc_mssql" version="9.0" />
558       <VENDOR name="mssql_n" version="9.0" />
559       <VENDOR name="oracle" version="10.2" />
560       <VENDOR name="sqlite" version="2.0" />
561     </DATABASE>
562     <PHP version="5.3.2" level="required">
563     </PHP>
564     <PCREUNICODE level="optional">
565       <FEEDBACK>
566         <ON_CHECK message="pcreunicodewarning" />
567       </FEEDBACK>
568     </PCREUNICODE>
569     <PHP_EXTENSIONS>
570       <PHP_EXTENSION name="iconv" level="required">
571         <FEEDBACK>
572           <ON_ERROR message="iconvrequired" />
573         </FEEDBACK>
574       </PHP_EXTENSION>
575       <PHP_EXTENSION name="mbstring" level="optional">
576         <FEEDBACK>
577           <ON_CHECK message="mbstringrecommended" />
578         </FEEDBACK>
579       </PHP_EXTENSION>
580       <PHP_EXTENSION name="curl" level="required">
581         <FEEDBACK>
582           <ON_ERROR message="curlrequired" />
583         </FEEDBACK>
584       </PHP_EXTENSION>
585       <PHP_EXTENSION name="openssl" level="optional">
586         <FEEDBACK>
587           <ON_CHECK message="opensslrecommended" />
588         </FEEDBACK>
589       </PHP_EXTENSION>
590       <PHP_EXTENSION name="tokenizer" level="optional">
591         <FEEDBACK>
592           <ON_CHECK message="tokenizerrecommended" />
593         </FEEDBACK>
594       </PHP_EXTENSION>
595       <PHP_EXTENSION name="xmlrpc" level="optional">
596         <FEEDBACK>
597           <ON_CHECK message="xmlrpcrecommended" />
598         </FEEDBACK>
599       </PHP_EXTENSION>
600       <PHP_EXTENSION name="soap" level="optional">
601         <FEEDBACK>
602           <ON_CHECK message="soaprecommended" />
603         </FEEDBACK>
604       </PHP_EXTENSION>
605       <PHP_EXTENSION name="ctype" level="required">
606         <FEEDBACK>
607           <ON_ERROR message="ctyperequired" />
608         </FEEDBACK>
609       </PHP_EXTENSION>
610       <PHP_EXTENSION name="zip" level="required">
611         <FEEDBACK>
612           <ON_ERROR message="ziprequired" />
613         </FEEDBACK>
614       </PHP_EXTENSION>
615       <PHP_EXTENSION name="gd" level="optional">
616         <FEEDBACK>
617           <ON_CHECK message="gdrecommended" />
618         </FEEDBACK>
619       </PHP_EXTENSION>
620       <PHP_EXTENSION name="simplexml" level="required">
621         <FEEDBACK>
622           <ON_ERROR message="simplexmlrequired" />
623         </FEEDBACK>
624       </PHP_EXTENSION>
625       <PHP_EXTENSION name="spl" level="required">
626         <FEEDBACK>
627           <ON_ERROR message="splrequired" />
628         </FEEDBACK>
629       </PHP_EXTENSION>
630       <PHP_EXTENSION name="pcre" level="required">
631       </PHP_EXTENSION>
632       <PHP_EXTENSION name="dom" level="required">
633       </PHP_EXTENSION>
634       <PHP_EXTENSION name="xml" level="required">
635       </PHP_EXTENSION>
636       <PHP_EXTENSION name="intl" level="optional">
637         <FEEDBACK>
638           <ON_CHECK message="intlrecommended" />
639         </FEEDBACK>
640       </PHP_EXTENSION>
641       <PHP_EXTENSION name="json" level="required">
642       </PHP_EXTENSION>
643       <PHP_EXTENSION name="hash" level="required"/>
644     </PHP_EXTENSIONS>
645     <PHP_SETTINGS>
646       <PHP_SETTING name="memory_limit" value="40M" level="required">
647         <FEEDBACK>
648           <ON_ERROR message="settingmemorylimit" />
649         </FEEDBACK>
650       </PHP_SETTING>
651       <PHP_SETTING name="safe_mode" value="0" level="optional">
652         <FEEDBACK>
653           <ON_CHECK message="settingsafemode" />
654         </FEEDBACK>
655       </PHP_SETTING>
656       <PHP_SETTING name="file_uploads" value="1" level="optional">
657         <FEEDBACK>
658           <ON_CHECK message="settingfileuploads" />
659         </FEEDBACK>
660       </PHP_SETTING>
661     </PHP_SETTINGS>
662   </MOODLE>
663   <MOODLE version="2.4" requires="2.2">
664     <UNICODE level="required">
665       <FEEDBACK>
666         <ON_ERROR message="unicoderequired" />
667       </FEEDBACK>
668     </UNICODE>
669     <DATABASE level="required">
670       <VENDOR name="mysql" version="5.1.33" />
671       <VENDOR name="postgres" version="8.3" />
672       <VENDOR name="mssql" version="9.0" />
673       <VENDOR name="odbc_mssql" version="9.0" />
674       <VENDOR name="mssql_n" version="9.0" />
675       <VENDOR name="oracle" version="10.2" />
676       <VENDOR name="sqlite" version="2.0" />
677     </DATABASE>
678     <PHP version="5.3.2" level="required">
679     </PHP>
680     <PCREUNICODE level="optional">
681       <FEEDBACK>
682         <ON_CHECK message="pcreunicodewarning" />
683       </FEEDBACK>
684     </PCREUNICODE>
685     <PHP_EXTENSIONS>
686       <PHP_EXTENSION name="iconv" level="required">
687         <FEEDBACK>
688           <ON_ERROR message="iconvrequired" />
689         </FEEDBACK>
690       </PHP_EXTENSION>
691       <PHP_EXTENSION name="mbstring" level="optional">
692         <FEEDBACK>
693           <ON_CHECK message="mbstringrecommended" />
694         </FEEDBACK>
695       </PHP_EXTENSION>
696       <PHP_EXTENSION name="curl" level="required">
697         <FEEDBACK>
698           <ON_ERROR message="curlrequired" />
699         </FEEDBACK>
700       </PHP_EXTENSION>
701       <PHP_EXTENSION name="openssl" level="optional">
702         <FEEDBACK>
703           <ON_CHECK message="opensslrecommended" />
704         </FEEDBACK>
705       </PHP_EXTENSION>
706       <PHP_EXTENSION name="tokenizer" level="optional">
707         <FEEDBACK>
708           <ON_CHECK message="tokenizerrecommended" />
709         </FEEDBACK>
710       </PHP_EXTENSION>
711       <PHP_EXTENSION name="xmlrpc" level="optional">
712         <FEEDBACK>
713           <ON_CHECK message="xmlrpcrecommended" />
714         </FEEDBACK>
715       </PHP_EXTENSION>
716       <PHP_EXTENSION name="soap" level="optional">
717         <FEEDBACK>
718           <ON_CHECK message="soaprecommended" />
719         </FEEDBACK>
720       </PHP_EXTENSION>
721       <PHP_EXTENSION name="ctype" level="required">
722         <FEEDBACK>
723           <ON_ERROR message="ctyperequired" />
724         </FEEDBACK>
725       </PHP_EXTENSION>
726       <PHP_EXTENSION name="zip" level="required">
727         <FEEDBACK>
728           <ON_ERROR message="ziprequired" />
729         </FEEDBACK>
730       </PHP_EXTENSION>
731       <PHP_EXTENSION name="gd" level="optional">
732         <FEEDBACK>
733           <ON_CHECK message="gdrecommended" />
734         </FEEDBACK>
735       </PHP_EXTENSION>
736       <PHP_EXTENSION name="simplexml" level="required">
737         <FEEDBACK>
738           <ON_ERROR message="simplexmlrequired" />
739         </FEEDBACK>
740       </PHP_EXTENSION>
741       <PHP_EXTENSION name="spl" level="required">
742         <FEEDBACK>
743           <ON_ERROR message="splrequired" />
744         </FEEDBACK>
745       </PHP_EXTENSION>
746       <PHP_EXTENSION name="pcre" level="required">
747       </PHP_EXTENSION>
748       <PHP_EXTENSION name="dom" level="required">
749       </PHP_EXTENSION>
750       <PHP_EXTENSION name="xml" level="required">
751       </PHP_EXTENSION>
752       <PHP_EXTENSION name="intl" level="optional">
753         <FEEDBACK>
754           <ON_CHECK message="intlrecommended" />
755         </FEEDBACK>
756       </PHP_EXTENSION>
757       <PHP_EXTENSION name="json" level="required">
758       </PHP_EXTENSION>
759       <PHP_EXTENSION name="hash" level="required"/>
760     </PHP_EXTENSIONS>
761     <PHP_SETTINGS>
762       <PHP_SETTING name="memory_limit" value="40M" level="required">
763         <FEEDBACK>
764           <ON_ERROR message="settingmemorylimit" />
765         </FEEDBACK>
766       </PHP_SETTING>
767       <PHP_SETTING name="safe_mode" value="0" level="optional">
768         <FEEDBACK>
769           <ON_CHECK message="settingsafemode" />
770         </FEEDBACK>
771       </PHP_SETTING>
772       <PHP_SETTING name="file_uploads" value="1" level="optional">
773         <FEEDBACK>
774           <ON_CHECK message="settingfileuploads" />
775         </FEEDBACK>
776       </PHP_SETTING>
777     </PHP_SETTINGS>
778   </MOODLE>
779   <MOODLE version="2.5" requires="2.2">
780     <UNICODE level="required">
781       <FEEDBACK>
782         <ON_ERROR message="unicoderequired" />
783       </FEEDBACK>
784     </UNICODE>
785     <DATABASE level="required">
786       <VENDOR name="mysql" version="5.1.33" />
787       <VENDOR name="postgres" version="8.3" />
788       <VENDOR name="mssql" version="9.0" />
789       <VENDOR name="odbc_mssql" version="9.0" />
790       <VENDOR name="mssql_n" version="9.0" />
791       <VENDOR name="oracle" version="10.2" />
792       <VENDOR name="sqlite" version="2.0" />
793     </DATABASE>
794     <PHP version="5.3.3" level="required">
795     </PHP>
796     <PCREUNICODE level="optional">
797       <FEEDBACK>
798         <ON_CHECK message="pcreunicodewarning" />
799       </FEEDBACK>
800     </PCREUNICODE>
801     <PHP_EXTENSIONS>
802       <PHP_EXTENSION name="iconv" level="required">
803         <FEEDBACK>
804           <ON_ERROR message="iconvrequired" />
805         </FEEDBACK>
806       </PHP_EXTENSION>
807       <PHP_EXTENSION name="mbstring" level="optional">
808         <FEEDBACK>
809           <ON_CHECK message="mbstringrecommended" />
810         </FEEDBACK>
811       </PHP_EXTENSION>
812       <PHP_EXTENSION name="curl" level="required">
813         <FEEDBACK>
814           <ON_ERROR message="curlrequired" />
815         </FEEDBACK>
816       </PHP_EXTENSION>
817       <PHP_EXTENSION name="openssl" level="optional">
818         <FEEDBACK>
819           <ON_CHECK message="opensslrecommended" />
820         </FEEDBACK>
821       </PHP_EXTENSION>
822       <PHP_EXTENSION name="tokenizer" level="optional">
823         <FEEDBACK>
824           <ON_CHECK message="tokenizerrecommended" />
825         </FEEDBACK>
826       </PHP_EXTENSION>
827       <PHP_EXTENSION name="xmlrpc" level="optional">
828         <FEEDBACK>
829           <ON_CHECK message="xmlrpcrecommended" />
830         </FEEDBACK>
831       </PHP_EXTENSION>
832       <PHP_EXTENSION name="soap" level="optional">
833         <FEEDBACK>
834           <ON_CHECK message="soaprecommended" />
835         </FEEDBACK>
836       </PHP_EXTENSION>
837       <PHP_EXTENSION name="ctype" level="required">
838         <FEEDBACK>
839           <ON_ERROR message="ctyperequired" />
840         </FEEDBACK>
841       </PHP_EXTENSION>
842       <PHP_EXTENSION name="zip" level="required">
843         <FEEDBACK>
844           <ON_ERROR message="ziprequired" />
845         </FEEDBACK>
846       </PHP_EXTENSION>
847       <PHP_EXTENSION name="gd" level="required">
848         <FEEDBACK>
849           <ON_ERROR message="gdrequired" />
850         </FEEDBACK>
851       </PHP_EXTENSION>
852       <PHP_EXTENSION name="simplexml" level="required">
853         <FEEDBACK>
854           <ON_ERROR message="simplexmlrequired" />
855         </FEEDBACK>
856       </PHP_EXTENSION>
857       <PHP_EXTENSION name="spl" level="required">
858         <FEEDBACK>
859           <ON_ERROR message="splrequired" />
860         </FEEDBACK>
861       </PHP_EXTENSION>
862       <PHP_EXTENSION name="pcre" level="required">
863       </PHP_EXTENSION>
864       <PHP_EXTENSION name="dom" level="required">
865       </PHP_EXTENSION>
866       <PHP_EXTENSION name="xml" level="required">
867       </PHP_EXTENSION>
868       <PHP_EXTENSION name="intl" level="optional">
869         <FEEDBACK>
870           <ON_CHECK message="intlrecommended" />
871         </FEEDBACK>
872       </PHP_EXTENSION>
873       <PHP_EXTENSION name="json" level="required">
874       </PHP_EXTENSION>
875       <PHP_EXTENSION name="hash" level="required"/>
876     </PHP_EXTENSIONS>
877     <PHP_SETTINGS>
878       <PHP_SETTING name="memory_limit" value="40M" level="required">
879         <FEEDBACK>
880           <ON_ERROR message="settingmemorylimit" />
881         </FEEDBACK>
882       </PHP_SETTING>
883       <PHP_SETTING name="safe_mode" value="0" level="optional">
884         <FEEDBACK>
885           <ON_CHECK message="settingsafemode" />
886         </FEEDBACK>
887       </PHP_SETTING>
888       <PHP_SETTING name="file_uploads" value="1" level="optional">
889         <FEEDBACK>
890           <ON_CHECK message="settingfileuploads" />
891         </FEEDBACK>
892       </PHP_SETTING>
893     </PHP_SETTINGS>
894   </MOODLE>
895   <MOODLE version="2.6" requires="2.2">
896     <UNICODE level="required">
897       <FEEDBACK>
898         <ON_ERROR message="unicoderequired" />
899       </FEEDBACK>
900     </UNICODE>
901     <DATABASE level="required">
902       <VENDOR name="mariadb" version="5.3.5" />
903       <VENDOR name="mysql" version="5.1.33" />
904       <VENDOR name="postgres" version="8.3" />
905       <VENDOR name="mssql" version="9.0" />
906       <VENDOR name="oracle" version="10.2" />
907     </DATABASE>
908     <PHP version="5.3.3" level="required">
909     </PHP>
910     <PCREUNICODE level="optional">
911       <FEEDBACK>
912         <ON_CHECK message="pcreunicodewarning" />
913       </FEEDBACK>
914     </PCREUNICODE>
915     <PHP_EXTENSIONS>
916       <PHP_EXTENSION name="iconv" level="required">
917         <FEEDBACK>
918           <ON_ERROR message="iconvrequired" />
919         </FEEDBACK>
920       </PHP_EXTENSION>
921       <PHP_EXTENSION name="mbstring" level="optional">
922         <FEEDBACK>
923           <ON_CHECK message="mbstringrecommended" />
924         </FEEDBACK>
925       </PHP_EXTENSION>
926       <PHP_EXTENSION name="curl" level="required">
927         <FEEDBACK>
928           <ON_ERROR message="curlrequired" />
929         </FEEDBACK>
930       </PHP_EXTENSION>
931       <PHP_EXTENSION name="openssl" level="optional">
932         <FEEDBACK>
933           <ON_CHECK message="opensslrecommended" />
934         </FEEDBACK>
935       </PHP_EXTENSION>
936       <PHP_EXTENSION name="tokenizer" level="optional">
937         <FEEDBACK>
938           <ON_CHECK message="tokenizerrecommended" />
939         </FEEDBACK>
940       </PHP_EXTENSION>
941       <PHP_EXTENSION name="xmlrpc" level="optional">
942         <FEEDBACK>
943           <ON_CHECK message="xmlrpcrecommended" />
944         </FEEDBACK>
945       </PHP_EXTENSION>
946       <PHP_EXTENSION name="soap" level="optional">
947         <FEEDBACK>
948           <ON_CHECK message="soaprecommended" />
949         </FEEDBACK>
950       </PHP_EXTENSION>
951       <PHP_EXTENSION name="ctype" level="required">
952         <FEEDBACK>
953           <ON_ERROR message="ctyperequired" />
954         </FEEDBACK>
955       </PHP_EXTENSION>
956       <PHP_EXTENSION name="zip" level="required">
957         <FEEDBACK>
958           <ON_ERROR message="ziprequired" />
959         </FEEDBACK>
960       </PHP_EXTENSION>
961       <PHP_EXTENSION name="zlib" level="optional">
962       </PHP_EXTENSION>
963       <PHP_EXTENSION name="gd" level="required">
964         <FEEDBACK>
965           <ON_ERROR message="gdrequired" />
966         </FEEDBACK>
967       </PHP_EXTENSION>
968       <PHP_EXTENSION name="simplexml" level="required">
969         <FEEDBACK>
970           <ON_ERROR message="simplexmlrequired" />
971         </FEEDBACK>
972       </PHP_EXTENSION>
973       <PHP_EXTENSION name="spl" level="required">
974         <FEEDBACK>
975           <ON_ERROR message="splrequired" />
976         </FEEDBACK>
977       </PHP_EXTENSION>
978       <PHP_EXTENSION name="pcre" level="required">
979       </PHP_EXTENSION>
980       <PHP_EXTENSION name="dom" level="required">
981       </PHP_EXTENSION>
982       <PHP_EXTENSION name="xml" level="required">
983       </PHP_EXTENSION>
984       <PHP_EXTENSION name="intl" level="optional">
985         <FEEDBACK>
986           <ON_CHECK message="intlrecommended" />
987         </FEEDBACK>
988       </PHP_EXTENSION>
989       <PHP_EXTENSION name="json" level="required">
990       </PHP_EXTENSION>
991       <PHP_EXTENSION name="hash" level="required"/>
992     </PHP_EXTENSIONS>
993     <PHP_SETTINGS>
994       <PHP_SETTING name="memory_limit" value="64M" level="required">
995         <FEEDBACK>
996           <ON_ERROR message="settingmemorylimit" />
997         </FEEDBACK>
998       </PHP_SETTING>
999       <PHP_SETTING name="safe_mode" value="0" level="optional">
1000         <FEEDBACK>
1001           <ON_CHECK message="settingsafemode" />
1002         </FEEDBACK>
1003       </PHP_SETTING>
1004       <PHP_SETTING name="file_uploads" value="1" level="optional">
1005         <FEEDBACK>
1006           <ON_CHECK message="settingfileuploads" />
1007         </FEEDBACK>
1008       </PHP_SETTING>
1009       <PHP_SETTING name="opcache.enable" value="1" level="optional">
1010         <FEEDBACK>
1011           <ON_CHECK message="opcacherecommended" />
1012         </FEEDBACK>
1013       </PHP_SETTING>
1014     </PHP_SETTINGS>
1015   </MOODLE>
1016   <MOODLE version="2.7" requires="2.2">
1017     <UNICODE level="required">
1018       <FEEDBACK>
1019         <ON_ERROR message="unicoderequired" />
1020       </FEEDBACK>
1021     </UNICODE>
1022     <DATABASE level="required">
1023       <VENDOR name="mariadb" version="5.5.31" />
1024       <VENDOR name="mysql" version="5.5.31" />
1025       <VENDOR name="postgres" version="9.1" />
1026       <VENDOR name="mssql" version="10.0" />
1027       <VENDOR name="oracle" version="10.2" />
1028     </DATABASE>
1029     <PHP version="5.4.4" level="required">
1030       <RESTRICT function="restrict_php_version_7" message="unsupportedphpversion7" />
1031     </PHP>
1032     <PCREUNICODE level="optional">
1033       <FEEDBACK>
1034         <ON_CHECK message="pcreunicodewarning" />
1035       </FEEDBACK>
1036     </PCREUNICODE>
1037     <PHP_EXTENSIONS>
1038       <PHP_EXTENSION name="iconv" level="required">
1039         <FEEDBACK>
1040           <ON_ERROR message="iconvrequired" />
1041         </FEEDBACK>
1042       </PHP_EXTENSION>
1043       <PHP_EXTENSION name="mbstring" level="optional">
1044         <FEEDBACK>
1045           <ON_CHECK message="mbstringrecommended" />
1046         </FEEDBACK>
1047       </PHP_EXTENSION>
1048       <PHP_EXTENSION name="curl" level="required">
1049         <FEEDBACK>
1050           <ON_ERROR message="curlrequired" />
1051         </FEEDBACK>
1052       </PHP_EXTENSION>
1053       <PHP_EXTENSION name="openssl" level="optional">
1054         <FEEDBACK>
1055           <ON_CHECK message="opensslrecommended" />
1056         </FEEDBACK>
1057       </PHP_EXTENSION>
1058       <PHP_EXTENSION name="tokenizer" level="optional">
1059         <FEEDBACK>
1060           <ON_CHECK message="tokenizerrecommended" />
1061         </FEEDBACK>
1062       </PHP_EXTENSION>
1063       <PHP_EXTENSION name="xmlrpc" level="optional">
1064         <FEEDBACK>
1065           <ON_CHECK message="xmlrpcrecommended" />
1066         </FEEDBACK>
1067       </PHP_EXTENSION>
1068       <PHP_EXTENSION name="soap" level="optional">
1069         <FEEDBACK>
1070           <ON_CHECK message="soaprecommended" />
1071         </FEEDBACK>
1072       </PHP_EXTENSION>
1073       <PHP_EXTENSION name="ctype" level="required">
1074         <FEEDBACK>
1075           <ON_ERROR message="ctyperequired" />
1076         </FEEDBACK>
1077       </PHP_EXTENSION>
1078       <PHP_EXTENSION name="zip" level="required">
1079         <FEEDBACK>
1080           <ON_ERROR message="ziprequired" />
1081         </FEEDBACK>
1082       </PHP_EXTENSION>
1083       <PHP_EXTENSION name="zlib" level="required">
1084       </PHP_EXTENSION>
1085       <PHP_EXTENSION name="gd" level="required">
1086         <FEEDBACK>
1087           <ON_ERROR message="gdrequired" />
1088         </FEEDBACK>
1089       </PHP_EXTENSION>
1090       <PHP_EXTENSION name="simplexml" level="required">
1091         <FEEDBACK>
1092           <ON_ERROR message="simplexmlrequired" />
1093         </FEEDBACK>
1094       </PHP_EXTENSION>
1095       <PHP_EXTENSION name="spl" level="required">
1096         <FEEDBACK>
1097           <ON_ERROR message="splrequired" />
1098         </FEEDBACK>
1099       </PHP_EXTENSION>
1100       <PHP_EXTENSION name="pcre" level="required">
1101       </PHP_EXTENSION>
1102       <PHP_EXTENSION name="dom" level="required">
1103       </PHP_EXTENSION>
1104       <PHP_EXTENSION name="xml" level="required">
1105       </PHP_EXTENSION>
1106       <PHP_EXTENSION name="intl" level="optional">
1107         <FEEDBACK>
1108           <ON_CHECK message="intlrecommended" />
1109         </FEEDBACK>
1110       </PHP_EXTENSION>
1111       <PHP_EXTENSION name="json" level="required">
1112       </PHP_EXTENSION>
1113       <PHP_EXTENSION name="hash" level="required"/>
1114     </PHP_EXTENSIONS>
1115     <PHP_SETTINGS>
1116       <PHP_SETTING name="memory_limit" value="96M" level="required">
1117         <FEEDBACK>
1118           <ON_ERROR message="settingmemorylimit" />
1119         </FEEDBACK>
1120       </PHP_SETTING>
1121       <PHP_SETTING name="file_uploads" value="1" level="optional">
1122         <FEEDBACK>
1123           <ON_CHECK message="settingfileuploads" />
1124         </FEEDBACK>
1125       </PHP_SETTING>
1126       <PHP_SETTING name="opcache.enable" value="1" level="optional">
1127         <FEEDBACK>
1128           <ON_CHECK message="opcacherecommended" />
1129         </FEEDBACK>
1130       </PHP_SETTING>
1131     </PHP_SETTINGS>
1132     <CUSTOM_CHECKS>
1133       <CUSTOM_CHECK file="question/engine/upgrade/upgradelib.php" function="quiz_attempts_upgraded" level="required">
1134         <FEEDBACK>
1135           <ON_ERROR message="quizattemptsupgradedmessage" />
1136         </FEEDBACK>
1137       </CUSTOM_CHECK>
1138       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_slasharguments" level="optional">
1139         <FEEDBACK>
1140           <ON_CHECK message="slashargumentswarning" />
1141         </FEEDBACK>
1142       </CUSTOM_CHECK>
1143       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_tables_row_format" level="optional">
1144         <FEEDBACK>
1145           <ON_CHECK message="unsupporteddbtablerowformat" />
1146         </FEEDBACK>
1147       </CUSTOM_CHECK>
1148       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_libcurl_version" level="optional">
1149         <FEEDBACK>
1150           <ON_CHECK message="libcurlwarning" />
1151         </FEEDBACK>
1152       </CUSTOM_CHECK>
1153     </CUSTOM_CHECKS>
1154   </MOODLE>
1155   <MOODLE version="2.8" requires="2.2">
1156     <UNICODE level="required">
1157       <FEEDBACK>
1158         <ON_ERROR message="unicoderequired" />
1159       </FEEDBACK>
1160     </UNICODE>
1161     <DATABASE level="required">
1162       <VENDOR name="mariadb" version="5.5.31" />
1163       <VENDOR name="mysql" version="5.5.31" />
1164       <VENDOR name="postgres" version="9.1" />
1165       <VENDOR name="mssql" version="10.0" />
1166       <VENDOR name="oracle" version="10.2" />
1167     </DATABASE>
1168     <PHP version="5.4.4" level="required">
1169       <RESTRICT function="restrict_php_version_7" message="unsupportedphpversion7" />
1170     </PHP>
1171     <PCREUNICODE level="optional">
1172       <FEEDBACK>
1173         <ON_CHECK message="pcreunicodewarning" />
1174       </FEEDBACK>
1175     </PCREUNICODE>
1176     <PHP_EXTENSIONS>
1177       <PHP_EXTENSION name="iconv" level="required">
1178         <FEEDBACK>
1179           <ON_ERROR message="iconvrequired" />
1180         </FEEDBACK>
1181       </PHP_EXTENSION>
1182       <PHP_EXTENSION name="mbstring" level="optional">
1183         <FEEDBACK>
1184           <ON_CHECK message="mbstringrecommended" />
1185         </FEEDBACK>
1186       </PHP_EXTENSION>
1187       <PHP_EXTENSION name="curl" level="required">
1188         <FEEDBACK>
1189           <ON_ERROR message="curlrequired" />
1190         </FEEDBACK>
1191       </PHP_EXTENSION>
1192       <PHP_EXTENSION name="openssl" level="optional">
1193         <FEEDBACK>
1194           <ON_CHECK message="opensslrecommended" />
1195         </FEEDBACK>
1196       </PHP_EXTENSION>
1197       <PHP_EXTENSION name="tokenizer" level="optional">
1198         <FEEDBACK>
1199           <ON_CHECK message="tokenizerrecommended" />
1200         </FEEDBACK>
1201       </PHP_EXTENSION>
1202       <PHP_EXTENSION name="xmlrpc" level="optional">
1203         <FEEDBACK>
1204           <ON_CHECK message="xmlrpcrecommended" />
1205         </FEEDBACK>
1206       </PHP_EXTENSION>
1207       <PHP_EXTENSION name="soap" level="optional">
1208         <FEEDBACK>
1209           <ON_CHECK message="soaprecommended" />
1210         </FEEDBACK>
1211       </PHP_EXTENSION>
1212       <PHP_EXTENSION name="ctype" level="required">
1213         <FEEDBACK>
1214           <ON_ERROR message="ctyperequired" />
1215         </FEEDBACK>
1216       </PHP_EXTENSION>
1217       <PHP_EXTENSION name="zip" level="required">
1218         <FEEDBACK>
1219           <ON_ERROR message="ziprequired" />
1220         </FEEDBACK>
1221       </PHP_EXTENSION>
1222       <PHP_EXTENSION name="zlib" level="required">
1223       </PHP_EXTENSION>
1224       <PHP_EXTENSION name="gd" level="required">
1225         <FEEDBACK>
1226           <ON_ERROR message="gdrequired" />
1227         </FEEDBACK>
1228       </PHP_EXTENSION>
1229       <PHP_EXTENSION name="simplexml" level="required">
1230         <FEEDBACK>
1231           <ON_ERROR message="simplexmlrequired" />
1232         </FEEDBACK>
1233       </PHP_EXTENSION>
1234       <PHP_EXTENSION name="spl" level="required">
1235         <FEEDBACK>
1236           <ON_ERROR message="splrequired" />
1237         </FEEDBACK>
1238       </PHP_EXTENSION>
1239       <PHP_EXTENSION name="pcre" level="required">
1240       </PHP_EXTENSION>
1241       <PHP_EXTENSION name="dom" level="required">
1242       </PHP_EXTENSION>
1243       <PHP_EXTENSION name="xml" level="required">
1244       </PHP_EXTENSION>
1245       <PHP_EXTENSION name="intl" level="optional">
1246         <FEEDBACK>
1247           <ON_CHECK message="intlrecommended" />
1248         </FEEDBACK>
1249       </PHP_EXTENSION>
1250       <PHP_EXTENSION name="json" level="required">
1251       </PHP_EXTENSION>
1252       <PHP_EXTENSION name="hash" level="required"/>
1253     </PHP_EXTENSIONS>
1254     <PHP_SETTINGS>
1255       <PHP_SETTING name="memory_limit" value="96M" level="required">
1256         <FEEDBACK>
1257           <ON_ERROR message="settingmemorylimit" />
1258         </FEEDBACK>
1259       </PHP_SETTING>
1260       <PHP_SETTING name="file_uploads" value="1" level="optional">
1261         <FEEDBACK>
1262           <ON_CHECK message="settingfileuploads" />
1263         </FEEDBACK>
1264       </PHP_SETTING>
1265       <PHP_SETTING name="opcache.enable" value="1" level="optional">
1266         <FEEDBACK>
1267           <ON_CHECK message="opcacherecommended" />
1268         </FEEDBACK>
1269       </PHP_SETTING>
1270     </PHP_SETTINGS>
1271     <CUSTOM_CHECKS>
1272       <CUSTOM_CHECK file="question/engine/upgrade/upgradelib.php" function="quiz_attempts_upgraded" level="required">
1273         <FEEDBACK>
1274           <ON_ERROR message="quizattemptsupgradedmessage" />
1275         </FEEDBACK>
1276       </CUSTOM_CHECK>
1277       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_slasharguments" level="optional">
1278         <FEEDBACK>
1279           <ON_CHECK message="slashargumentswarning" />
1280         </FEEDBACK>
1281       </CUSTOM_CHECK>
1282       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_tables_row_format" level="optional">
1283         <FEEDBACK>
1284           <ON_CHECK message="unsupporteddbtablerowformat" />
1285         </FEEDBACK>
1286       </CUSTOM_CHECK>
1287     </CUSTOM_CHECKS>
1288   </MOODLE>
1289   <MOODLE version="2.9" requires="2.2">
1290     <UNICODE level="required">
1291       <FEEDBACK>
1292         <ON_ERROR message="unicoderequired" />
1293       </FEEDBACK>
1294     </UNICODE>
1295     <DATABASE level="required">
1296       <VENDOR name="mariadb" version="5.5.31" />
1297       <VENDOR name="mysql" version="5.5.31" />
1298       <VENDOR name="postgres" version="9.1" />
1299       <VENDOR name="mssql" version="10.0" />
1300       <VENDOR name="oracle" version="10.2" />
1301     </DATABASE>
1302     <PHP version="5.4.4" level="required">
1303       <RESTRICT function="restrict_php_version_7" message="unsupportedphpversion7" />
1304     </PHP>
1305     <PCREUNICODE level="optional">
1306       <FEEDBACK>
1307         <ON_CHECK message="pcreunicodewarning" />
1308       </FEEDBACK>
1309     </PCREUNICODE>
1310     <PHP_EXTENSIONS>
1311       <PHP_EXTENSION name="iconv" level="required">
1312         <FEEDBACK>
1313           <ON_ERROR message="iconvrequired" />
1314         </FEEDBACK>
1315       </PHP_EXTENSION>
1316       <PHP_EXTENSION name="mbstring" level="optional">
1317         <FEEDBACK>
1318           <ON_CHECK message="mbstringrecommended" />
1319         </FEEDBACK>
1320       </PHP_EXTENSION>
1321       <PHP_EXTENSION name="curl" level="required">
1322         <FEEDBACK>
1323           <ON_ERROR message="curlrequired" />
1324         </FEEDBACK>
1325       </PHP_EXTENSION>
1326       <PHP_EXTENSION name="openssl" level="optional">
1327         <FEEDBACK>
1328           <ON_CHECK message="opensslrecommended" />
1329         </FEEDBACK>
1330       </PHP_EXTENSION>
1331       <PHP_EXTENSION name="tokenizer" level="optional">
1332         <FEEDBACK>
1333           <ON_CHECK message="tokenizerrecommended" />
1334         </FEEDBACK>
1335       </PHP_EXTENSION>
1336       <PHP_EXTENSION name="xmlrpc" level="optional">
1337         <FEEDBACK>
1338           <ON_CHECK message="xmlrpcrecommended" />
1339         </FEEDBACK>
1340       </PHP_EXTENSION>
1341       <PHP_EXTENSION name="soap" level="optional">
1342         <FEEDBACK>
1343           <ON_CHECK message="soaprecommended" />
1344         </FEEDBACK>
1345       </PHP_EXTENSION>
1346       <PHP_EXTENSION name="ctype" level="required">
1347         <FEEDBACK>
1348           <ON_ERROR message="ctyperequired" />
1349         </FEEDBACK>
1350       </PHP_EXTENSION>
1351       <PHP_EXTENSION name="zip" level="required">
1352         <FEEDBACK>
1353           <ON_ERROR message="ziprequired" />
1354         </FEEDBACK>
1355       </PHP_EXTENSION>
1356       <PHP_EXTENSION name="zlib" level="required">
1357       </PHP_EXTENSION>
1358       <PHP_EXTENSION name="gd" level="required">
1359         <FEEDBACK>
1360           <ON_ERROR message="gdrequired" />
1361         </FEEDBACK>
1362       </PHP_EXTENSION>
1363       <PHP_EXTENSION name="simplexml" level="required">
1364         <FEEDBACK>
1365           <ON_ERROR message="simplexmlrequired" />
1366         </FEEDBACK>
1367       </PHP_EXTENSION>
1368       <PHP_EXTENSION name="spl" level="required">
1369         <FEEDBACK>
1370           <ON_ERROR message="splrequired" />
1371         </FEEDBACK>
1372       </PHP_EXTENSION>
1373       <PHP_EXTENSION name="pcre" level="required">
1374       </PHP_EXTENSION>
1375       <PHP_EXTENSION name="dom" level="required">
1376       </PHP_EXTENSION>
1377       <PHP_EXTENSION name="xml" level="required">
1378       </PHP_EXTENSION>
1379       <PHP_EXTENSION name="intl" level="optional">
1380         <FEEDBACK>
1381           <ON_CHECK message="intlrecommended" />
1382         </FEEDBACK>
1383       </PHP_EXTENSION>
1384       <PHP_EXTENSION name="json" level="required">
1385       </PHP_EXTENSION>
1386       <PHP_EXTENSION name="hash" level="required"/>
1387     </PHP_EXTENSIONS>
1388     <PHP_SETTINGS>
1389       <PHP_SETTING name="memory_limit" value="96M" level="required">
1390         <FEEDBACK>
1391           <ON_ERROR message="settingmemorylimit" />
1392         </FEEDBACK>
1393       </PHP_SETTING>
1394       <PHP_SETTING name="file_uploads" value="1" level="optional">
1395         <FEEDBACK>
1396           <ON_CHECK message="settingfileuploads" />
1397         </FEEDBACK>
1398       </PHP_SETTING>
1399       <PHP_SETTING name="opcache.enable" value="1" level="optional">
1400         <FEEDBACK>
1401           <ON_CHECK message="opcacherecommended" />
1402         </FEEDBACK>
1403       </PHP_SETTING>
1404     </PHP_SETTINGS>
1405     <CUSTOM_CHECKS>
1406       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_storage_engine" level="required">
1407         <FEEDBACK>
1408           <ON_ERROR message="unsupporteddbstorageengine" />
1409         </FEEDBACK>
1410       </CUSTOM_CHECK>
1411       <CUSTOM_CHECK file="question/engine/upgrade/upgradelib.php" function="quiz_attempts_upgraded" level="required">
1412         <FEEDBACK>
1413           <ON_ERROR message="quizattemptsupgradedmessage" />
1414         </FEEDBACK>
1415       </CUSTOM_CHECK>
1416       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_slasharguments" level="optional">
1417         <FEEDBACK>
1418           <ON_CHECK message="slashargumentswarning" />
1419         </FEEDBACK>
1420       </CUSTOM_CHECK>
1421       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_tables_row_format" level="optional">
1422         <FEEDBACK>
1423           <ON_CHECK message="unsupporteddbtablerowformat" />
1424         </FEEDBACK>
1425       </CUSTOM_CHECK>
1426       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_libcurl_version" level="optional">
1427         <FEEDBACK>
1428           <ON_CHECK message="libcurlwarning" />
1429         </FEEDBACK>
1430       </CUSTOM_CHECK>
1431     </CUSTOM_CHECKS>
1432   </MOODLE>
1433   <MOODLE version="3.0" requires="2.2">
1434     <UNICODE level="required">
1435       <FEEDBACK>
1436         <ON_ERROR message="unicoderequired" />
1437       </FEEDBACK>
1438     </UNICODE>
1439     <DATABASE level="required">
1440       <VENDOR name="mariadb" version="5.5.31" />
1441       <VENDOR name="mysql" version="5.5.31" />
1442       <VENDOR name="postgres" version="9.1" />
1443       <VENDOR name="mssql" version="10.0" />
1444       <VENDOR name="oracle" version="10.2" />
1445     </DATABASE>
1446     <PHP version="5.4.4" level="required">
1447       <RESTRICT function="restrict_php_version_71" message="unsupportedphpversion71" />
1448     </PHP>
1449     <PCREUNICODE level="optional">
1450       <FEEDBACK>
1451         <ON_CHECK message="pcreunicodewarning" />
1452       </FEEDBACK>
1453     </PCREUNICODE>
1454     <PHP_EXTENSIONS>
1455       <PHP_EXTENSION name="iconv" level="required">
1456         <FEEDBACK>
1457           <ON_ERROR message="iconvrequired" />
1458         </FEEDBACK>
1459       </PHP_EXTENSION>
1460       <PHP_EXTENSION name="mbstring" level="optional">
1461         <FEEDBACK>
1462           <ON_CHECK message="mbstringrecommended" />
1463         </FEEDBACK>
1464       </PHP_EXTENSION>
1465       <PHP_EXTENSION name="curl" level="required">
1466         <FEEDBACK>
1467           <ON_ERROR message="curlrequired" />
1468         </FEEDBACK>
1469       </PHP_EXTENSION>
1470       <PHP_EXTENSION name="openssl" level="optional">
1471         <FEEDBACK>
1472           <ON_CHECK message="opensslrecommended" />
1473         </FEEDBACK>
1474       </PHP_EXTENSION>
1475       <PHP_EXTENSION name="tokenizer" level="optional">
1476         <FEEDBACK>
1477           <ON_CHECK message="tokenizerrecommended" />
1478         </FEEDBACK>
1479       </PHP_EXTENSION>
1480       <PHP_EXTENSION name="xmlrpc" level="optional">
1481         <FEEDBACK>
1482           <ON_CHECK message="xmlrpcrecommended" />
1483         </FEEDBACK>
1484       </PHP_EXTENSION>
1485       <PHP_EXTENSION name="soap" level="optional">
1486         <FEEDBACK>
1487           <ON_CHECK message="soaprecommended" />
1488         </FEEDBACK>
1489       </PHP_EXTENSION>
1490       <PHP_EXTENSION name="ctype" level="required">
1491         <FEEDBACK>
1492           <ON_ERROR message="ctyperequired" />
1493         </FEEDBACK>
1494       </PHP_EXTENSION>
1495       <PHP_EXTENSION name="zip" level="required">
1496         <FEEDBACK>
1497           <ON_ERROR message="ziprequired" />
1498         </FEEDBACK>
1499       </PHP_EXTENSION>
1500       <PHP_EXTENSION name="zlib" level="required">
1501       </PHP_EXTENSION>
1502       <PHP_EXTENSION name="gd" level="required">
1503         <FEEDBACK>
1504           <ON_ERROR message="gdrequired" />
1505         </FEEDBACK>
1506       </PHP_EXTENSION>
1507       <PHP_EXTENSION name="simplexml" level="required">
1508         <FEEDBACK>
1509           <ON_ERROR message="simplexmlrequired" />
1510         </FEEDBACK>
1511       </PHP_EXTENSION>
1512       <PHP_EXTENSION name="spl" level="required">
1513         <FEEDBACK>
1514           <ON_ERROR message="splrequired" />
1515         </FEEDBACK>
1516       </PHP_EXTENSION>
1517       <PHP_EXTENSION name="pcre" level="required">
1518       </PHP_EXTENSION>
1519       <PHP_EXTENSION name="dom" level="required">
1520       </PHP_EXTENSION>
1521       <PHP_EXTENSION name="xml" level="required">
1522       </PHP_EXTENSION>
1523       <PHP_EXTENSION name="intl" level="optional">
1524         <FEEDBACK>
1525           <ON_CHECK message="intlrecommended" />
1526         </FEEDBACK>
1527       </PHP_EXTENSION>
1528       <PHP_EXTENSION name="json" level="required">
1529       </PHP_EXTENSION>
1530       <PHP_EXTENSION name="hash" level="required"/>
1531     </PHP_EXTENSIONS>
1532     <PHP_SETTINGS>
1533       <PHP_SETTING name="memory_limit" value="96M" level="required">
1534         <FEEDBACK>
1535           <ON_ERROR message="settingmemorylimit" />
1536         </FEEDBACK>
1537       </PHP_SETTING>
1538       <PHP_SETTING name="file_uploads" value="1" level="optional">
1539         <FEEDBACK>
1540           <ON_CHECK message="settingfileuploads" />
1541         </FEEDBACK>
1542       </PHP_SETTING>
1543       <PHP_SETTING name="opcache.enable" value="1" level="optional">
1544         <FEEDBACK>
1545           <ON_CHECK message="opcacherecommended" />
1546         </FEEDBACK>
1547       </PHP_SETTING>
1548     </PHP_SETTINGS>
1549     <CUSTOM_CHECKS>
1550       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_storage_engine" level="required">
1551         <FEEDBACK>
1552           <ON_ERROR message="unsupporteddbstorageengine" />
1553         </FEEDBACK>
1554       </CUSTOM_CHECK>
1555       <CUSTOM_CHECK file="question/engine/upgrade/upgradelib.php" function="quiz_attempts_upgraded" level="required">
1556         <FEEDBACK>
1557           <ON_ERROR message="quizattemptsupgradedmessage" />
1558         </FEEDBACK>
1559       </CUSTOM_CHECK>
1560       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_slasharguments" level="optional">
1561         <FEEDBACK>
1562           <ON_CHECK message="slashargumentswarning" />
1563         </FEEDBACK>
1564       </CUSTOM_CHECK>
1565       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_tables_row_format" level="optional">
1566         <FEEDBACK>
1567           <ON_CHECK message="unsupporteddbtablerowformat" />
1568         </FEEDBACK>
1569       </CUSTOM_CHECK>
1570       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_libcurl_version" level="optional">
1571         <FEEDBACK>
1572           <ON_CHECK message="libcurlwarning" />
1573         </FEEDBACK>
1574       </CUSTOM_CHECK>
1575     </CUSTOM_CHECKS>
1576   </MOODLE>
1577   <MOODLE version="3.1" requires="2.7">
1578     <UNICODE level="required">
1579       <FEEDBACK>
1580         <ON_ERROR message="unicoderequired" />
1581       </FEEDBACK>
1582     </UNICODE>
1583     <DATABASE level="required">
1584       <VENDOR name="mariadb" version="5.5.31" />
1585       <VENDOR name="mysql" version="5.5.31" />
1586       <VENDOR name="postgres" version="9.1" />
1587       <VENDOR name="mssql" version="10.0" />
1588       <VENDOR name="oracle" version="10.2" />
1589     </DATABASE>
1590     <PHP version="5.4.4" level="required">
1591       <RESTRICT function="restrict_php_version_71" message="unsupportedphpversion71" />
1592     </PHP>
1593     <PCREUNICODE level="optional">
1594       <FEEDBACK>
1595         <ON_CHECK message="pcreunicodewarning" />
1596       </FEEDBACK>
1597     </PCREUNICODE>
1598     <PHP_EXTENSIONS>
1599       <PHP_EXTENSION name="iconv" level="required">
1600         <FEEDBACK>
1601           <ON_ERROR message="iconvrequired" />
1602         </FEEDBACK>
1603       </PHP_EXTENSION>
1604       <PHP_EXTENSION name="mbstring" level="optional">
1605         <FEEDBACK>
1606           <ON_CHECK message="mbstringrecommended" />
1607         </FEEDBACK>
1608       </PHP_EXTENSION>
1609       <PHP_EXTENSION name="curl" level="required">
1610         <FEEDBACK>
1611           <ON_ERROR message="curlrequired" />
1612         </FEEDBACK>
1613       </PHP_EXTENSION>
1614       <PHP_EXTENSION name="openssl" level="optional">
1615         <FEEDBACK>
1616           <ON_CHECK message="opensslrecommended" />
1617         </FEEDBACK>
1618       </PHP_EXTENSION>
1619       <PHP_EXTENSION name="tokenizer" level="optional">
1620         <FEEDBACK>
1621           <ON_CHECK message="tokenizerrecommended" />
1622         </FEEDBACK>
1623       </PHP_EXTENSION>
1624       <PHP_EXTENSION name="xmlrpc" level="optional">
1625         <FEEDBACK>
1626           <ON_CHECK message="xmlrpcrecommended" />
1627         </FEEDBACK>
1628       </PHP_EXTENSION>
1629       <PHP_EXTENSION name="soap" level="optional">
1630         <FEEDBACK>
1631           <ON_CHECK message="soaprecommended" />
1632         </FEEDBACK>
1633       </PHP_EXTENSION>
1634       <PHP_EXTENSION name="ctype" level="required">
1635         <FEEDBACK>
1636           <ON_ERROR message="ctyperequired" />
1637         </FEEDBACK>
1638       </PHP_EXTENSION>
1639       <PHP_EXTENSION name="zip" level="required">
1640         <FEEDBACK>
1641           <ON_ERROR message="ziprequired" />
1642         </FEEDBACK>
1643       </PHP_EXTENSION>
1644       <PHP_EXTENSION name="zlib" level="required">
1645       </PHP_EXTENSION>
1646       <PHP_EXTENSION name="gd" level="required">
1647         <FEEDBACK>
1648           <ON_ERROR message="gdrequired" />
1649         </FEEDBACK>
1650       </PHP_EXTENSION>
1651       <PHP_EXTENSION name="simplexml" level="required">
1652         <FEEDBACK>
1653           <ON_ERROR message="simplexmlrequired" />
1654         </FEEDBACK>
1655       </PHP_EXTENSION>
1656       <PHP_EXTENSION name="spl" level="required">
1657         <FEEDBACK>
1658           <ON_ERROR message="splrequired" />
1659         </FEEDBACK>
1660       </PHP_EXTENSION>
1661       <PHP_EXTENSION name="pcre" level="required">
1662       </PHP_EXTENSION>
1663       <PHP_EXTENSION name="dom" level="required">
1664       </PHP_EXTENSION>
1665       <PHP_EXTENSION name="xml" level="required">
1666       </PHP_EXTENSION>
1667       <PHP_EXTENSION name="xmlreader" level="required">
1668       </PHP_EXTENSION>
1669       <PHP_EXTENSION name="intl" level="optional">
1670         <FEEDBACK>
1671           <ON_CHECK message="intlrecommended" />
1672         </FEEDBACK>
1673       </PHP_EXTENSION>
1674       <PHP_EXTENSION name="json" level="required">
1675       </PHP_EXTENSION>
1676       <PHP_EXTENSION name="hash" level="required"/>
1677     </PHP_EXTENSIONS>
1678     <PHP_SETTINGS>
1679       <PHP_SETTING name="memory_limit" value="96M" level="required">
1680         <FEEDBACK>
1681           <ON_ERROR message="settingmemorylimit" />
1682         </FEEDBACK>
1683       </PHP_SETTING>
1684       <PHP_SETTING name="file_uploads" value="1" level="optional">
1685         <FEEDBACK>
1686           <ON_CHECK message="settingfileuploads" />
1687         </FEEDBACK>
1688       </PHP_SETTING>
1689       <PHP_SETTING name="opcache.enable" value="1" level="optional">
1690         <FEEDBACK>
1691           <ON_CHECK message="opcacherecommended" />
1692         </FEEDBACK>
1693       </PHP_SETTING>
1694     </PHP_SETTINGS>
1695     <CUSTOM_CHECKS>
1696       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_storage_engine" level="required">
1697         <FEEDBACK>
1698           <ON_ERROR message="unsupporteddbstorageengine" />
1699         </FEEDBACK>
1700       </CUSTOM_CHECK>
1701       <CUSTOM_CHECK file="question/engine/upgrade/upgradelib.php" function="quiz_attempts_upgraded" level="required">
1702         <FEEDBACK>
1703           <ON_ERROR message="quizattemptsupgradedmessage" />
1704         </FEEDBACK>
1705       </CUSTOM_CHECK>
1706       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_slasharguments" level="optional">
1707         <FEEDBACK>
1708           <ON_CHECK message="slashargumentswarning" />
1709         </FEEDBACK>
1710       </CUSTOM_CHECK>
1711       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_tables_row_format" level="optional">
1712         <FEEDBACK>
1713           <ON_CHECK message="unsupporteddbtablerowformat" />
1714         </FEEDBACK>
1715       </CUSTOM_CHECK>
1716       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_unoconv_version" level="optional">
1717         <FEEDBACK>
1718           <ON_CHECK message="unoconvwarning" />
1719         </FEEDBACK>
1720       </CUSTOM_CHECK>
1721       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_libcurl_version" level="optional">
1722         <FEEDBACK>
1723           <ON_CHECK message="libcurlwarning" />
1724         </FEEDBACK>
1725       </CUSTOM_CHECK>
1726       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_file_format" level="required">
1727         <FEEDBACK>
1728           <ON_ERROR message="unsupporteddbfileformat" />
1729         </FEEDBACK>
1730       </CUSTOM_CHECK>
1731       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_file_per_table" level="required">
1732         <FEEDBACK>
1733           <ON_ERROR message="unsupporteddbfilepertable" />
1734         </FEEDBACK>
1735       </CUSTOM_CHECK>
1736       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_large_prefix" level="required">
1737         <FEEDBACK>
1738           <ON_ERROR message="unsupporteddblargeprefix" />
1739         </FEEDBACK>
1740       </CUSTOM_CHECK>
1741     </CUSTOM_CHECKS>
1742   </MOODLE>
1743   <MOODLE version="3.2" requires="2.7">
1744     <UNICODE level="required">
1745       <FEEDBACK>
1746         <ON_ERROR message="unicoderequired" />
1747       </FEEDBACK>
1748     </UNICODE>
1749     <DATABASE level="required">
1750       <VENDOR name="mariadb" version="5.5.31" />
1751       <VENDOR name="mysql" version="5.5.31" />
1752       <VENDOR name="postgres" version="9.1" />
1753       <VENDOR name="mssql" version="10.0" />
1754       <VENDOR name="oracle" version="10.2" />
1755     </DATABASE>
1756     <PHP version="5.6.5" level="required">
1757       <RESTRICT function="restrict_php_version_72" message="unsupportedphpversion72" />
1758     </PHP>
1759     <PCREUNICODE level="optional">
1760       <FEEDBACK>
1761         <ON_CHECK message="pcreunicodewarning" />
1762       </FEEDBACK>
1763     </PCREUNICODE>
1764     <PHP_EXTENSIONS>
1765       <PHP_EXTENSION name="iconv" level="required">
1766         <FEEDBACK>
1767           <ON_ERROR message="iconvrequired" />
1768         </FEEDBACK>
1769       </PHP_EXTENSION>
1770       <PHP_EXTENSION name="mbstring" level="optional">
1771         <FEEDBACK>
1772           <ON_CHECK message="mbstringrecommended" />
1773         </FEEDBACK>
1774       </PHP_EXTENSION>
1775       <PHP_EXTENSION name="curl" level="required">
1776         <FEEDBACK>
1777           <ON_ERROR message="curlrequired" />
1778         </FEEDBACK>
1779       </PHP_EXTENSION>
1780       <PHP_EXTENSION name="openssl" level="optional">
1781         <FEEDBACK>
1782           <ON_CHECK message="opensslrecommended" />
1783         </FEEDBACK>
1784       </PHP_EXTENSION>
1785       <PHP_EXTENSION name="tokenizer" level="optional">
1786         <FEEDBACK>
1787           <ON_CHECK message="tokenizerrecommended" />
1788         </FEEDBACK>
1789       </PHP_EXTENSION>
1790       <PHP_EXTENSION name="xmlrpc" level="optional">
1791         <FEEDBACK>
1792           <ON_CHECK message="xmlrpcrecommended" />
1793         </FEEDBACK>
1794       </PHP_EXTENSION>
1795       <PHP_EXTENSION name="soap" level="optional">
1796         <FEEDBACK>
1797           <ON_CHECK message="soaprecommended" />
1798         </FEEDBACK>
1799       </PHP_EXTENSION>
1800       <PHP_EXTENSION name="ctype" level="required">
1801         <FEEDBACK>
1802           <ON_ERROR message="ctyperequired" />
1803         </FEEDBACK>
1804       </PHP_EXTENSION>
1805       <PHP_EXTENSION name="zip" level="required">
1806         <FEEDBACK>
1807           <ON_ERROR message="ziprequired" />
1808         </FEEDBACK>
1809       </PHP_EXTENSION>
1810       <PHP_EXTENSION name="zlib" level="required">
1811       </PHP_EXTENSION>
1812       <PHP_EXTENSION name="gd" level="required">
1813         <FEEDBACK>
1814           <ON_ERROR message="gdrequired" />
1815         </FEEDBACK>
1816       </PHP_EXTENSION>
1817       <PHP_EXTENSION name="simplexml" level="required">
1818         <FEEDBACK>
1819           <ON_ERROR message="simplexmlrequired" />
1820         </FEEDBACK>
1821       </PHP_EXTENSION>
1822       <PHP_EXTENSION name="spl" level="required">
1823         <FEEDBACK>
1824           <ON_ERROR message="splrequired" />
1825         </FEEDBACK>
1826       </PHP_EXTENSION>
1827       <PHP_EXTENSION name="pcre" level="required">
1828       </PHP_EXTENSION>
1829       <PHP_EXTENSION name="dom" level="required">
1830       </PHP_EXTENSION>
1831       <PHP_EXTENSION name="xml" level="required">
1832       </PHP_EXTENSION>
1833       <PHP_EXTENSION name="xmlreader" level="required">
1834       </PHP_EXTENSION>
1835       <PHP_EXTENSION name="intl" level="optional">
1836         <FEEDBACK>
1837           <ON_CHECK message="intlrecommended" />
1838         </FEEDBACK>
1839       </PHP_EXTENSION>
1840       <PHP_EXTENSION name="json" level="required">
1841       </PHP_EXTENSION>
1842       <PHP_EXTENSION name="hash" level="required"/>
1843     </PHP_EXTENSIONS>
1844     <PHP_SETTINGS>
1845       <PHP_SETTING name="memory_limit" value="96M" level="required">
1846         <FEEDBACK>
1847           <ON_ERROR message="settingmemorylimit" />
1848         </FEEDBACK>
1849       </PHP_SETTING>
1850       <PHP_SETTING name="file_uploads" value="1" level="optional">
1851         <FEEDBACK>
1852           <ON_CHECK message="settingfileuploads" />
1853         </FEEDBACK>
1854       </PHP_SETTING>
1855       <PHP_SETTING name="opcache.enable" value="1" level="optional">
1856         <FEEDBACK>
1857           <ON_CHECK message="opcacherecommended" />
1858         </FEEDBACK>
1859       </PHP_SETTING>
1860     </PHP_SETTINGS>
1861     <CUSTOM_CHECKS>
1862       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_storage_engine" level="required">
1863         <FEEDBACK>
1864           <ON_ERROR message="unsupporteddbstorageengine" />
1865         </FEEDBACK>
1866       </CUSTOM_CHECK>
1867       <CUSTOM_CHECK file="question/engine/upgrade/upgradelib.php" function="quiz_attempts_upgraded" level="required">
1868         <FEEDBACK>
1869           <ON_ERROR message="quizattemptsupgradedmessage" />
1870         </FEEDBACK>
1871       </CUSTOM_CHECK>
1872       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_slasharguments" level="optional">
1873         <FEEDBACK>
1874           <ON_CHECK message="slashargumentswarning" />
1875         </FEEDBACK>
1876       </CUSTOM_CHECK>
1877       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_tables_row_format" level="optional">
1878         <FEEDBACK>
1879           <ON_CHECK message="unsupporteddbtablerowformat" />
1880         </FEEDBACK>
1881       </CUSTOM_CHECK>
1882       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_unoconv_version" level="optional">
1883         <FEEDBACK>
1884           <ON_CHECK message="unoconvwarning" />
1885         </FEEDBACK>
1886       </CUSTOM_CHECK>
1887       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_libcurl_version" level="optional">
1888         <FEEDBACK>
1889           <ON_CHECK message="libcurlwarning" />
1890         </FEEDBACK>
1891       </CUSTOM_CHECK>
1892       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_file_format" level="required">
1893         <FEEDBACK>
1894           <ON_ERROR message="unsupporteddbfileformat" />
1895         </FEEDBACK>
1896       </CUSTOM_CHECK>
1897       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_file_per_table" level="required">
1898         <FEEDBACK>
1899           <ON_ERROR message="unsupporteddbfilepertable" />
1900         </FEEDBACK>
1901       </CUSTOM_CHECK>
1902       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_large_prefix" level="required">
1903         <FEEDBACK>
1904           <ON_ERROR message="unsupporteddblargeprefix" />
1905         </FEEDBACK>
1906       </CUSTOM_CHECK>
1907     </CUSTOM_CHECKS>
1908   </MOODLE>
1909   <MOODLE version="3.3" requires="2.7">
1910     <UNICODE level="required">
1911       <FEEDBACK>
1912         <ON_ERROR message="unicoderequired" />
1913       </FEEDBACK>
1914     </UNICODE>
1915     <DATABASE level="required">
1916       <VENDOR name="mariadb" version="5.5.31" />
1917       <VENDOR name="mysql" version="5.5.31" />
1918       <VENDOR name="postgres" version="9.3" />
1919       <VENDOR name="mssql" version="10.0" />
1920       <VENDOR name="oracle" version="10.2" />
1921     </DATABASE>
1922     <PHP version="5.6.5" level="required">
1923       <RESTRICT function="restrict_php_version_72" message="unsupportedphpversion72" />
1924     </PHP>
1925     <PCREUNICODE level="optional">
1926       <FEEDBACK>
1927         <ON_CHECK message="pcreunicodewarning" />
1928       </FEEDBACK>
1929     </PCREUNICODE>
1930     <PHP_EXTENSIONS>
1931       <PHP_EXTENSION name="iconv" level="required">
1932         <FEEDBACK>
1933           <ON_ERROR message="iconvrequired" />
1934         </FEEDBACK>
1935       </PHP_EXTENSION>
1936       <PHP_EXTENSION name="mbstring" level="optional">
1937         <FEEDBACK>
1938           <ON_CHECK message="mbstringrecommended" />
1939         </FEEDBACK>
1940       </PHP_EXTENSION>
1941       <PHP_EXTENSION name="curl" level="required">
1942         <FEEDBACK>
1943           <ON_ERROR message="curlrequired" />
1944         </FEEDBACK>
1945       </PHP_EXTENSION>
1946       <PHP_EXTENSION name="openssl" level="required">
1947         <FEEDBACK>
1948           <ON_ERROR message="opensslrequired" />
1949         </FEEDBACK>
1950       </PHP_EXTENSION>
1951       <PHP_EXTENSION name="tokenizer" level="optional">
1952         <FEEDBACK>
1953           <ON_CHECK message="tokenizerrecommended" />
1954         </FEEDBACK>
1955       </PHP_EXTENSION>
1956       <PHP_EXTENSION name="xmlrpc" level="optional">
1957         <FEEDBACK>
1958           <ON_CHECK message="xmlrpcrecommended" />
1959         </FEEDBACK>
1960       </PHP_EXTENSION>
1961       <PHP_EXTENSION name="soap" level="optional">
1962         <FEEDBACK>
1963           <ON_CHECK message="soaprecommended" />
1964         </FEEDBACK>
1965       </PHP_EXTENSION>
1966       <PHP_EXTENSION name="ctype" level="required">
1967         <FEEDBACK>
1968           <ON_ERROR message="ctyperequired" />
1969         </FEEDBACK>
1970       </PHP_EXTENSION>
1971       <PHP_EXTENSION name="zip" level="required">
1972         <FEEDBACK>
1973           <ON_ERROR message="ziprequired" />
1974         </FEEDBACK>
1975       </PHP_EXTENSION>
1976       <PHP_EXTENSION name="zlib" level="required">
1977       </PHP_EXTENSION>
1978       <PHP_EXTENSION name="gd" level="required">
1979         <FEEDBACK>
1980           <ON_ERROR message="gdrequired" />
1981         </FEEDBACK>
1982       </PHP_EXTENSION>
1983       <PHP_EXTENSION name="simplexml" level="required">
1984         <FEEDBACK>
1985           <ON_ERROR message="simplexmlrequired" />
1986         </FEEDBACK>
1987       </PHP_EXTENSION>
1988       <PHP_EXTENSION name="spl" level="required">
1989         <FEEDBACK>
1990           <ON_ERROR message="splrequired" />
1991         </FEEDBACK>
1992       </PHP_EXTENSION>
1993       <PHP_EXTENSION name="pcre" level="required">
1994       </PHP_EXTENSION>
1995       <PHP_EXTENSION name="dom" level="required">
1996       </PHP_EXTENSION>
1997       <PHP_EXTENSION name="xml" level="required">
1998       </PHP_EXTENSION>
1999       <PHP_EXTENSION name="xmlreader" level="required">
2000       </PHP_EXTENSION>
2001       <PHP_EXTENSION name="intl" level="optional">
2002         <FEEDBACK>
2003           <ON_CHECK message="intlrecommended" />
2004         </FEEDBACK>
2005       </PHP_EXTENSION>
2006       <PHP_EXTENSION name="json" level="required">
2007       </PHP_EXTENSION>
2008       <PHP_EXTENSION name="hash" level="required"/>
2009       <PHP_EXTENSION name="fileinfo" level="required"/>
2010     </PHP_EXTENSIONS>
2011     <PHP_SETTINGS>
2012       <PHP_SETTING name="memory_limit" value="96M" level="required">
2013         <FEEDBACK>
2014           <ON_ERROR message="settingmemorylimit" />
2015         </FEEDBACK>
2016       </PHP_SETTING>
2017       <PHP_SETTING name="file_uploads" value="1" level="optional">
2018         <FEEDBACK>
2019           <ON_CHECK message="settingfileuploads" />
2020         </FEEDBACK>
2021       </PHP_SETTING>
2022       <PHP_SETTING name="opcache.enable" value="1" level="optional">
2023         <FEEDBACK>
2024           <ON_CHECK message="opcacherecommended" />
2025         </FEEDBACK>
2026       </PHP_SETTING>
2027     </PHP_SETTINGS>
2028     <CUSTOM_CHECKS>
2029       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_storage_engine" level="required">
2030         <FEEDBACK>
2031           <ON_ERROR message="unsupporteddbstorageengine" />
2032         </FEEDBACK>
2033       </CUSTOM_CHECK>
2034       <CUSTOM_CHECK file="question/engine/upgrade/upgradelib.php" function="quiz_attempts_upgraded" level="required">
2035         <FEEDBACK>
2036           <ON_ERROR message="quizattemptsupgradedmessage" />
2037         </FEEDBACK>
2038       </CUSTOM_CHECK>
2039       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_slasharguments" level="optional">
2040         <FEEDBACK>
2041           <ON_CHECK message="slashargumentswarning" />
2042         </FEEDBACK>
2043       </CUSTOM_CHECK>
2044       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_tables_row_format" level="optional">
2045         <FEEDBACK>
2046           <ON_CHECK message="unsupporteddbtablerowformat" />
2047         </FEEDBACK>
2048       </CUSTOM_CHECK>
2049       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_unoconv_version" level="optional">
2050         <FEEDBACK>
2051           <ON_CHECK message="unoconvwarning" />
2052         </FEEDBACK>
2053       </CUSTOM_CHECK>
2054       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_libcurl_version" level="optional">
2055         <FEEDBACK>
2056           <ON_CHECK message="libcurlwarning" />
2057         </FEEDBACK>
2058       </CUSTOM_CHECK>
2059       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_file_format" level="required">
2060         <FEEDBACK>
2061           <ON_ERROR message="unsupporteddbfileformat" />
2062         </FEEDBACK>
2063       </CUSTOM_CHECK>
2064       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_file_per_table" level="required">
2065         <FEEDBACK>
2066           <ON_ERROR message="unsupporteddbfilepertable" />
2067         </FEEDBACK>
2068       </CUSTOM_CHECK>
2069       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_large_prefix" level="required">
2070         <FEEDBACK>
2071           <ON_ERROR message="unsupporteddblargeprefix" />
2072         </FEEDBACK>
2073       </CUSTOM_CHECK>
2074       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_is_https" level="optional">
2075         <FEEDBACK>
2076           <ON_CHECK message="ishttpswarning" />
2077         </FEEDBACK>
2078       </CUSTOM_CHECK>
2079       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_incomplete_unicode_support" level="optional">
2080         <FEEDBACK>
2081           <ON_CHECK message="incompleteunicodesupport" />
2082         </FEEDBACK>
2083       </CUSTOM_CHECK>
2084     </CUSTOM_CHECKS>
2085   </MOODLE>
2086   <MOODLE version="3.4" requires="3.0">
2087     <UNICODE level="required">
2088       <FEEDBACK>
2089         <ON_ERROR message="unicoderequired" />
2090       </FEEDBACK>
2091     </UNICODE>
2092     <DATABASE level="required">
2093       <VENDOR name="mariadb" version="5.5.31" />
2094       <VENDOR name="mysql" version="5.5.31" />
2095       <VENDOR name="postgres" version="9.3" />
2096       <VENDOR name="mssql" version="10.0" />
2097       <VENDOR name="oracle" version="10.2" />
2098     </DATABASE>
2099     <PHP version="7.0.0" level="required">
2100     </PHP>
2101     <PCREUNICODE level="optional">
2102       <FEEDBACK>
2103         <ON_CHECK message="pcreunicodewarning" />
2104       </FEEDBACK>
2105     </PCREUNICODE>
2106     <PHP_EXTENSIONS>
2107       <PHP_EXTENSION name="iconv" level="required">
2108         <FEEDBACK>
2109           <ON_ERROR message="iconvrequired" />
2110         </FEEDBACK>
2111       </PHP_EXTENSION>
2112       <PHP_EXTENSION name="mbstring" level="optional">
2113         <FEEDBACK>
2114           <ON_CHECK message="mbstringrecommended" />
2115         </FEEDBACK>
2116       </PHP_EXTENSION>
2117       <PHP_EXTENSION name="curl" level="required">
2118         <FEEDBACK>
2119           <ON_ERROR message="curlrequired" />
2120         </FEEDBACK>
2121       </PHP_EXTENSION>
2122       <PHP_EXTENSION name="openssl" level="required">
2123         <FEEDBACK>
2124           <ON_ERROR message="opensslrequired" />
2125         </FEEDBACK>
2126       </PHP_EXTENSION>
2127       <PHP_EXTENSION name="tokenizer" level="optional">
2128         <FEEDBACK>
2129           <ON_CHECK message="tokenizerrecommended" />
2130         </FEEDBACK>
2131       </PHP_EXTENSION>
2132       <PHP_EXTENSION name="xmlrpc" level="optional">
2133         <FEEDBACK>
2134           <ON_CHECK message="xmlrpcrecommended" />
2135         </FEEDBACK>
2136       </PHP_EXTENSION>
2137       <PHP_EXTENSION name="soap" level="optional">
2138         <FEEDBACK>
2139           <ON_CHECK message="soaprecommended" />
2140         </FEEDBACK>
2141       </PHP_EXTENSION>
2142       <PHP_EXTENSION name="ctype" level="required">
2143         <FEEDBACK>
2144           <ON_ERROR message="ctyperequired" />
2145         </FEEDBACK>
2146       </PHP_EXTENSION>
2147       <PHP_EXTENSION name="zip" level="required">
2148         <FEEDBACK>
2149           <ON_ERROR message="ziprequired" />
2150         </FEEDBACK>
2151       </PHP_EXTENSION>
2152       <PHP_EXTENSION name="zlib" level="required">
2153       </PHP_EXTENSION>
2154       <PHP_EXTENSION name="gd" level="required">
2155         <FEEDBACK>
2156           <ON_ERROR message="gdrequired" />
2157         </FEEDBACK>
2158       </PHP_EXTENSION>
2159       <PHP_EXTENSION name="simplexml" level="required">
2160         <FEEDBACK>
2161           <ON_ERROR message="simplexmlrequired" />
2162         </FEEDBACK>
2163       </PHP_EXTENSION>
2164       <PHP_EXTENSION name="spl" level="required">
2165         <FEEDBACK>
2166           <ON_ERROR message="splrequired" />
2167         </FEEDBACK>
2168       </PHP_EXTENSION>
2169       <PHP_EXTENSION name="pcre" level="required">
2170       </PHP_EXTENSION>
2171       <PHP_EXTENSION name="dom" level="required">
2172       </PHP_EXTENSION>
2173       <PHP_EXTENSION name="xml" level="required">
2174       </PHP_EXTENSION>
2175       <PHP_EXTENSION name="xmlreader" level="required">
2176       </PHP_EXTENSION>
2177       <PHP_EXTENSION name="intl" level="required">
2178         <FEEDBACK>
2179           <ON_ERROR message="intlrequired" />
2180         </FEEDBACK>
2181       </PHP_EXTENSION>
2182       <PHP_EXTENSION name="json" level="required">
2183       </PHP_EXTENSION>
2184       <PHP_EXTENSION name="hash" level="required"/>
2185       <PHP_EXTENSION name="fileinfo" level="required"/>
2186     </PHP_EXTENSIONS>
2187     <PHP_SETTINGS>
2188       <PHP_SETTING name="memory_limit" value="96M" level="required">
2189         <FEEDBACK>
2190           <ON_ERROR message="settingmemorylimit" />
2191         </FEEDBACK>
2192       </PHP_SETTING>
2193       <PHP_SETTING name="file_uploads" value="1" level="optional">
2194         <FEEDBACK>
2195           <ON_CHECK message="settingfileuploads" />
2196         </FEEDBACK>
2197       </PHP_SETTING>
2198       <PHP_SETTING name="opcache.enable" value="1" level="optional">
2199         <FEEDBACK>
2200           <ON_CHECK message="opcacherecommended" />
2201         </FEEDBACK>
2202       </PHP_SETTING>
2203     </PHP_SETTINGS>
2204     <CUSTOM_CHECKS>
2205       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_storage_engine" level="required">
2206         <FEEDBACK>
2207           <ON_ERROR message="unsupporteddbstorageengine" />
2208         </FEEDBACK>
2209       </CUSTOM_CHECK>
2210       <CUSTOM_CHECK file="question/engine/upgrade/upgradelib.php" function="quiz_attempts_upgraded" level="required">
2211         <FEEDBACK>
2212           <ON_ERROR message="quizattemptsupgradedmessage" />
2213         </FEEDBACK>
2214       </CUSTOM_CHECK>
2215       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_slasharguments" level="optional">
2216         <FEEDBACK>
2217           <ON_CHECK message="slashargumentswarning" />
2218         </FEEDBACK>
2219       </CUSTOM_CHECK>
2220       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_tables_row_format" level="optional">
2221         <FEEDBACK>
2222           <ON_CHECK message="unsupporteddbtablerowformat" />
2223         </FEEDBACK>
2224       </CUSTOM_CHECK>
2225       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_unoconv_version" level="optional">
2226         <FEEDBACK>
2227           <ON_CHECK message="unoconvwarning" />
2228         </FEEDBACK>
2229       </CUSTOM_CHECK>
2230       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_libcurl_version" level="optional">
2231         <FEEDBACK>
2232           <ON_CHECK message="libcurlwarning" />
2233         </FEEDBACK>
2234       </CUSTOM_CHECK>
2235       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_file_format" level="required">
2236         <FEEDBACK>
2237           <ON_ERROR message="unsupporteddbfileformat" />
2238         </FEEDBACK>
2239       </CUSTOM_CHECK>
2240       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_file_per_table" level="required">
2241         <FEEDBACK>
2242           <ON_ERROR message="unsupporteddbfilepertable" />
2243         </FEEDBACK>
2244       </CUSTOM_CHECK>
2245       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_large_prefix" level="required">
2246         <FEEDBACK>
2247           <ON_ERROR message="unsupporteddblargeprefix" />
2248         </FEEDBACK>
2249       </CUSTOM_CHECK>
2250       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_is_https" level="optional">
2251         <FEEDBACK>
2252           <ON_CHECK message="ishttpswarning" />
2253         </FEEDBACK>
2254       </CUSTOM_CHECK>
2255       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_incomplete_unicode_support" level="optional">
2256         <FEEDBACK>
2257           <ON_CHECK message="incompleteunicodesupport" />
2258         </FEEDBACK>
2259       </CUSTOM_CHECK>
2260     </CUSTOM_CHECKS>
2261   </MOODLE>
2262   <MOODLE version="3.5" requires="3.1">
2263     <UNICODE level="required">
2264       <FEEDBACK>
2265         <ON_ERROR message="unicoderequired" />
2266       </FEEDBACK>
2267     </UNICODE>
2268     <DATABASE level="required">
2269       <VENDOR name="mariadb" version="5.5.31" />
2270       <VENDOR name="mysql" version="5.5.31" />
2271       <VENDOR name="postgres" version="9.3" />
2272       <VENDOR name="mssql" version="10.0" />
2273       <VENDOR name="oracle" version="10.2" />
2274     </DATABASE>
2275     <PHP version="7.0.0" level="required">
2276     </PHP>
2277     <PCREUNICODE level="optional">
2278       <FEEDBACK>
2279         <ON_CHECK message="pcreunicodewarning" />
2280       </FEEDBACK>
2281     </PCREUNICODE>
2282     <PHP_EXTENSIONS>
2283       <PHP_EXTENSION name="iconv" level="required">
2284         <FEEDBACK>
2285           <ON_ERROR message="iconvrequired" />
2286         </FEEDBACK>
2287       </PHP_EXTENSION>
2288       <PHP_EXTENSION name="mbstring" level="optional">
2289         <FEEDBACK>
2290           <ON_CHECK message="mbstringrecommended" />
2291         </FEEDBACK>
2292       </PHP_EXTENSION>
2293       <PHP_EXTENSION name="curl" level="required">
2294         <FEEDBACK>
2295           <ON_ERROR message="curlrequired" />
2296         </FEEDBACK>
2297       </PHP_EXTENSION>
2298       <PHP_EXTENSION name="openssl" level="required">
2299         <FEEDBACK>
2300           <ON_ERROR message="opensslrequired" />
2301         </FEEDBACK>
2302       </PHP_EXTENSION>
2303       <PHP_EXTENSION name="tokenizer" level="optional">
2304         <FEEDBACK>
2305           <ON_CHECK message="tokenizerrecommended" />
2306         </FEEDBACK>
2307       </PHP_EXTENSION>
2308       <PHP_EXTENSION name="xmlrpc" level="optional">
2309         <FEEDBACK>
2310           <ON_CHECK message="xmlrpcrecommended" />
2311         </FEEDBACK>
2312       </PHP_EXTENSION>
2313       <PHP_EXTENSION name="soap" level="optional">
2314         <FEEDBACK>
2315           <ON_CHECK message="soaprecommended" />
2316         </FEEDBACK>
2317       </PHP_EXTENSION>
2318       <PHP_EXTENSION name="ctype" level="required">
2319         <FEEDBACK>
2320           <ON_ERROR message="ctyperequired" />
2321         </FEEDBACK>
2322       </PHP_EXTENSION>
2323       <PHP_EXTENSION name="zip" level="required">
2324         <FEEDBACK>
2325           <ON_ERROR message="ziprequired" />
2326         </FEEDBACK>
2327       </PHP_EXTENSION>
2328       <PHP_EXTENSION name="zlib" level="required">
2329       </PHP_EXTENSION>
2330       <PHP_EXTENSION name="gd" level="required">
2331         <FEEDBACK>
2332           <ON_ERROR message="gdrequired" />
2333         </FEEDBACK>
2334       </PHP_EXTENSION>
2335       <PHP_EXTENSION name="simplexml" level="required">
2336         <FEEDBACK>
2337           <ON_ERROR message="simplexmlrequired" />
2338         </FEEDBACK>
2339       </PHP_EXTENSION>
2340       <PHP_EXTENSION name="spl" level="required">
2341         <FEEDBACK>
2342           <ON_ERROR message="splrequired" />
2343         </FEEDBACK>
2344       </PHP_EXTENSION>
2345       <PHP_EXTENSION name="pcre" level="required">
2346       </PHP_EXTENSION>
2347       <PHP_EXTENSION name="dom" level="required">
2348       </PHP_EXTENSION>
2349       <PHP_EXTENSION name="xml" level="required">
2350       </PHP_EXTENSION>
2351       <PHP_EXTENSION name="xmlreader" level="required">
2352       </PHP_EXTENSION>
2353       <PHP_EXTENSION name="intl" level="required">
2354         <FEEDBACK>
2355           <ON_ERROR message="intlrequired" />
2356         </FEEDBACK>
2357       </PHP_EXTENSION>
2358       <PHP_EXTENSION name="json" level="required">
2359       </PHP_EXTENSION>
2360       <PHP_EXTENSION name="hash" level="required"/>
2361       <PHP_EXTENSION name="fileinfo" level="required"/>
2362     </PHP_EXTENSIONS>
2363     <PHP_SETTINGS>
2364       <PHP_SETTING name="memory_limit" value="96M" level="required">
2365         <FEEDBACK>
2366           <ON_ERROR message="settingmemorylimit" />
2367         </FEEDBACK>
2368       </PHP_SETTING>
2369       <PHP_SETTING name="file_uploads" value="1" level="optional">
2370         <FEEDBACK>
2371           <ON_CHECK message="settingfileuploads" />
2372         </FEEDBACK>
2373       </PHP_SETTING>
2374       <PHP_SETTING name="opcache.enable" value="1" level="optional">
2375         <FEEDBACK>
2376           <ON_CHECK message="opcacherecommended" />
2377         </FEEDBACK>
2378       </PHP_SETTING>
2379     </PHP_SETTINGS>
2380     <CUSTOM_CHECKS>
2381       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_storage_engine" level="required">
2382         <FEEDBACK>
2383           <ON_ERROR message="unsupporteddbstorageengine" />
2384         </FEEDBACK>
2385       </CUSTOM_CHECK>
2386       <CUSTOM_CHECK file="question/engine/upgrade/upgradelib.php" function="quiz_attempts_upgraded" level="required">
2387         <FEEDBACK>
2388           <ON_ERROR message="quizattemptsupgradedmessage" />
2389         </FEEDBACK>
2390       </CUSTOM_CHECK>
2391       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_slasharguments" level="optional">
2392         <FEEDBACK>
2393           <ON_CHECK message="slashargumentswarning" />
2394         </FEEDBACK>
2395       </CUSTOM_CHECK>
2396       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_database_tables_row_format" level="optional">
2397         <FEEDBACK>
2398           <ON_CHECK message="unsupporteddbtablerowformat" />
2399         </FEEDBACK>
2400       </CUSTOM_CHECK>
2401       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_unoconv_version" level="optional">
2402         <FEEDBACK>
2403           <ON_CHECK message="unoconvwarning" />
2404         </FEEDBACK>
2405       </CUSTOM_CHECK>
2406       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_libcurl_version" level="optional">
2407         <FEEDBACK>
2408           <ON_CHECK message="libcurlwarning" />
2409         </FEEDBACK>
2410       </CUSTOM_CHECK>
2411       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_file_format" level="required">
2412         <FEEDBACK>
2413           <ON_ERROR message="unsupporteddbfileformat" />
2414         </FEEDBACK>
2415       </CUSTOM_CHECK>
2416       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_file_per_table" level="required">
2417         <FEEDBACK>
2418           <ON_ERROR message="unsupporteddbfilepertable" />
2419         </FEEDBACK>
2420       </CUSTOM_CHECK>
2421       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_large_prefix" level="required">
2422         <FEEDBACK>
2423           <ON_ERROR message="unsupporteddblargeprefix" />
2424         </FEEDBACK>
2425       </CUSTOM_CHECK>
2426       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_is_https" level="optional">
2427         <FEEDBACK>
2428           <ON_CHECK message="ishttpswarning" />
2429         </FEEDBACK>
2430       </CUSTOM_CHECK>
2431       <CUSTOM_CHECK file="lib/upgradelib.php" function="check_mysql_incomplete_unicode_support" level="optional">
2432         <FEEDBACK>
2433           <ON_CHECK message="incompleteunicodesupport" />
2434         </FEEDBACK>
2435       </CUSTOM_CHECK>
2436     </CUSTOM_CHECKS>
2437   </MOODLE>
2438 </COMPATIBILITY_MATRIX>