b70ced30f46eda467397e286f95e7c3462e0cae8
[moodle.git] / admin / environment.xml
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         <FEEDBACK>
219           <ON_ERROR message="mysql416required" />
220         </FEEDBACK>
221       </VENDOR>
222       <VENDOR name="postgres" version="8.3" />
223       <VENDOR name="mssql" version="9.0" />
224       <VENDOR name="odbc_mssql" version="9.0" />
225       <VENDOR name="mssql_n" version="9.0" />
226       <VENDOR name="oracle" version="10.2" />
227       <VENDOR name="sqlite" version="2.0" />
228     </DATABASE>
229     <PHP version="5.2.8" level="required">
230     </PHP>
231     <PHP_EXTENSIONS>
232       <PHP_EXTENSION name="iconv" level="required">
233         <FEEDBACK>
234           <ON_CHECK message="iconvrequired" />
235         </FEEDBACK>
236       </PHP_EXTENSION>
237       <PHP_EXTENSION name="mbstring" level="optional">
238         <FEEDBACK>
239           <ON_CHECK message="mbstringrecommended" />
240         </FEEDBACK>
241       </PHP_EXTENSION>
242       <PHP_EXTENSION name="curl" level="required">
243         <FEEDBACK>
244           <ON_CHECK message="curlrequired" />
245         </FEEDBACK>
246       </PHP_EXTENSION>
247       <PHP_EXTENSION name="openssl" level="optional">
248         <FEEDBACK>
249           <ON_CHECK message="opensslrecommended" />
250         </FEEDBACK>
251       </PHP_EXTENSION>
252       <PHP_EXTENSION name="tokenizer" level="optional">
253         <FEEDBACK>
254           <ON_CHECK message="tokenizerrecommended" />
255         </FEEDBACK>
256       </PHP_EXTENSION>
257       <PHP_EXTENSION name="xmlrpc" level="optional">
258         <FEEDBACK>
259           <ON_CHECK message="xmlrpcrecommended" />
260         </FEEDBACK>
261       </PHP_EXTENSION>
262       <PHP_EXTENSION name="soap" level="optional">
263         <FEEDBACK>
264           <ON_CHECK message="soaprecommended" />
265         </FEEDBACK>
266       </PHP_EXTENSION>
267       <PHP_EXTENSION name="ctype" level="required">
268         <FEEDBACK>
269           <ON_ERROR message="ctyperequired" />
270         </FEEDBACK>
271       </PHP_EXTENSION>
272       <PHP_EXTENSION name="zip" level="required">
273         <FEEDBACK>
274           <ON_ERROR message="ziprequired" />
275         </FEEDBACK>
276       </PHP_EXTENSION>
277       <PHP_EXTENSION name="gd" level="optional">
278         <FEEDBACK>
279           <ON_CHECK message="gdrecommended" />
280         </FEEDBACK>
281       </PHP_EXTENSION>
282       <PHP_EXTENSION name="simplexml" level="required">
283         <FEEDBACK>
284           <ON_CHECK message="simplexmlrequired" />
285         </FEEDBACK>
286       </PHP_EXTENSION>
287       <PHP_EXTENSION name="spl" level="required">
288         <FEEDBACK>
289           <ON_CHECK message="splrequired" />
290         </FEEDBACK>
291       </PHP_EXTENSION>
292       <PHP_EXTENSION name="pcre" level="required">
293       </PHP_EXTENSION>
294       <PHP_EXTENSION name="dom" level="required">
295       </PHP_EXTENSION>
296       <PHP_EXTENSION name="xml" level="required">
297       </PHP_EXTENSION>
298       <PHP_EXTENSION name="intl" level="optional">
299         <FEEDBACK>
300           <ON_CHECK message="intlrecommended" />
301         </FEEDBACK>
302       </PHP_EXTENSION>
303       <PHP_EXTENSION name="json" level="required">
304       </PHP_EXTENSION>
305     </PHP_EXTENSIONS>
306     <PHP_SETTINGS>
307       <PHP_SETTING name="memory_limit" value="40M" level="required">
308         <FEEDBACK>
309           <ON_ERROR message="settingmemorylimit" />
310         </FEEDBACK>
311       </PHP_SETTING>
312       <PHP_SETTING name="safe_mode" value="0" level="optional">
313         <FEEDBACK>
314           <ON_CHECK message="settingsafemode" />
315         </FEEDBACK>
316       </PHP_SETTING>
317       <PHP_SETTING name="file_uploads" value="1" level="optional">
318         <FEEDBACK>
319           <ON_CHECK message="settingfileuploads" />
320         </FEEDBACK>
321       </PHP_SETTING>
322     </PHP_SETTINGS>
323     <CUSTOM_CHECKS>
324     </CUSTOM_CHECKS>
325   </MOODLE>
326 </COMPATIBILITY_MATRIX>