The following modules/extensions are required to run Roundcube:
$ext) { if (extension_loaded($ext)) { $RCI->pass($name); } else { $_ext = $ext_dir . '/' . $prefix . $ext . '.' . PHP_SHLIB_SUFFIX; $msg = @is_readable($_ext) ? 'Could be loaded. Please add in php.ini' : ''; $RCI->fail($name, $msg, $source_urls[$name]); } echo 'The next couple of extensions are optional and recommended to get the best performance:
$ext) { if (extension_loaded($ext)) { $RCI->pass($name); } else { $_ext = $ext_dir . '/' . $prefix . $ext . '.' . PHP_SHLIB_SUFFIX; $msg = @is_readable($_ext) ? 'Could be loaded. Please add in php.ini' : ''; $RCI->na($name, $msg, $source_urls[$name]); } echo 'Check which of the supported extensions are installed. At least one of them is required.
supported_dbs as $database => $ext) { if (extension_loaded($ext)) { $RCI->pass($database); $found_db_driver = true; } else { $_ext = $ext_dir . '/' . $prefix . $ext . '.' . PHP_SHLIB_SUFFIX; $msg = @is_readable($_ext) ? 'Could be loaded. Please add in php.ini' : ''; $RCI->na($database, $msg, $source_urls[$ext]); } echo 'This also checks if the include path is set correctly.
$file) { @include_once $file; if (class_exists($classname)) { $RCI->pass($classname); } else { $RCI->fail($classname, "Failed to load $file", $source_urls[$classname]); } echo "The following settings are required to run Roundcube:
$val) { $status = ini_get($var); if ($val === '-NOTEMPTY-') { if (empty($status)) { $RCI->fail($var, "empty value detected"); } else { $RCI->pass($var); } } else if (filter_var($status, FILTER_VALIDATE_BOOLEAN) == $val) { $RCI->pass($var); } else { $RCI->fail($var, "is '$status', should be '$val'"); } echo 'The following settings are optional and recommended:
$val) { $status = ini_get($var); if ($val === '-NOTEMPTY-') { if (empty($status)) { $RCI->optfail($var, "Could be set"); } else { $RCI->pass($var); } echo 'Sorry but your webserver does not meet the requirements for Roundcube!
Please install the missing modules or fix the php.ini settings according to the above check results.
Hint: only checks showing NOT OK need to be fixed.
failures ? 'disabled' : '') . ' />