Add missing checks for requirements
This commit is contained in:
@@ -33,9 +33,9 @@ if (DB_DRIVER === 'postgres' && ! extension_loaded('pdo_pgsql')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check other extensions
|
// Check other extensions
|
||||||
foreach (array('gd', 'mbstring', 'hash', 'openssl', 'json', 'hash', 'ctype', 'filter', 'session') as $ext) {
|
foreach (array('gd', 'mbstring', 'hash', 'openssl', 'json', 'hash', 'ctype', 'filter', 'session', 'dom', 'filter', 'SimpleXML', 'xml') as $ext) {
|
||||||
if (! extension_loaded($ext)) {
|
if (! extension_loaded($ext)) {
|
||||||
throw new Exception('PHP extension required: "'.$ext.'"');
|
throw new Exception('This PHP extension is required: "'.$ext.'"');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,9 @@
|
|||||||
},
|
},
|
||||||
"require" : {
|
"require" : {
|
||||||
"php" : ">=5.3.9",
|
"php" : ">=5.3.9",
|
||||||
|
"ext-simplexml" : "*",
|
||||||
|
"ext-dom" : "*",
|
||||||
|
"ext-xml" : "*",
|
||||||
"ext-gd" : "*",
|
"ext-gd" : "*",
|
||||||
"ext-mbstring" : "*",
|
"ext-mbstring" : "*",
|
||||||
"ext-hash" : "*",
|
"ext-hash" : "*",
|
||||||
|
|||||||
@@ -75,6 +75,10 @@ Kanboard is pre-configured to work with Apache (URL rewriting).
|
|||||||
| hash | |
|
| hash | |
|
||||||
| ctype | |
|
| ctype | |
|
||||||
| session | |
|
| session | |
|
||||||
|
| filter | |
|
||||||
|
| xml | |
|
||||||
|
| SimpleXML | |
|
||||||
|
| dom | |
|
||||||
| ldap | Only for LDAP authentication |
|
| ldap | Only for LDAP authentication |
|
||||||
| Zend OPcache | Recommended |
|
| Zend OPcache | Recommended |
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user