echo('<font color="red">Error: PHP version is not high enough: '.phpversion().'. Required: '.$required_version.'.</font><br>');
}
+ // Check is PHP session path is writeable.
+ if (!is_writable(session_save_path())) {
+ echo('<font color="red">Error: PHP session path '.session_save_path().' is not writable.</font><br>');
+ }
+
// Depending on DSN, require either mysqli or mysql extensions.
if (strrpos(DSN, 'mysqli://', -strlen(DSN)) !== FALSE) {
if (extension_loaded('mysqli')) {
}
}
+ // Check is libxml is enabled (which is a PHP default).
+ if (!function_exists('libxml_clear_errors')) {
+ echo('<font color="red">Error: libxml is not enabled. It is required for import group operation (to parse XML).</font><br>');
+ }
+
// Check database access.
require_once('MDB2.php');
$conn = MDB2::connect(DSN);