Archive->ExportOnlyDB && isset($_POST['filter-on']) && isset($_POST['filter-dirs'])) {
//findout matched core directories
$filter_dirs = explode(";", trim(sanitize_text_field(($_POST['filter-dirs']))));
// clean possible blank spaces before and after the paths
for ($i = 0; $i < count($filter_dirs); $i++) {
$filter_dirs[$i] = trim($filter_dirs[$i]);
$filter_dirs[$i] = (substr($filter_dirs[$i], -1) == "/") ? substr($filter_dirs[$i],0, strlen($filter_dirs[$i])-1):$filter_dirs[$i] ;
}
$core_dir_included = array_intersect($filter_dirs,
DUP_Util::getWPCoreDirs());
if (count($core_dir_included)) $core_dir_notice = true;
//find out core files
$filter_files = explode(";", trim($_POST['filter-files']));
// clean possible blank spaces before and after the paths
for ($i = 0; $i < count($filter_files); $i++) {
$filter_files[$i] = trim($filter_files[$i]);
}
$core_files_included = array_intersect($filter_files,
DUP_Util::getWPCoreFiles());
if (count($core_files_included)) $core_file_notice = true;
}
?>
' . esc_html__('Web Server', 'duplicator') . ": '".esc_attr($_SERVER['SERVER_SOFTWARE'])."'
";
_e("Supported web servers: ", 'duplicator');
echo "
".esc_html($web_servers)."";
//PHP VERSION
echo '
' . esc_html__('PHP Version', 'duplicator') . " ";
_e('The minimum PHP version supported by Duplicator is 5.2.9. It is highly recommended to use PHP 5.3+ for improved stability. For international language support please use PHP 7.0+.', 'duplicator');
//OPEN_BASEDIR
$test = ini_get("open_basedir");
$test = ($test) ? 'ON' : 'OFF';
echo '
' . esc_html__('PHP Open Base Dir', 'duplicator') . ": '{$test}'
";
_e('Issues might occur when [open_basedir] is enabled. Work with your server admin to disable this value in the php.ini file if you’re having issues building a package.', 'duplicator');
echo "
[" . esc_html__('details', 'duplicator') . "]";
//MAX_EXECUTION_TIME
$test = (@set_time_limit(0)) ? 0 : ini_get("max_execution_time");
echo '
' . esc_html__('PHP Max Execution Time', 'duplicator') . ": '{$test}'
";
_e('Timeouts may occur for larger packages when [max_execution_time] time in the php.ini is too low. A value of 0 (recommended) indicates that PHP has no time limits. '
. 'An attempt is made to override this value if the server allows it.', 'duplicator');
echo '
';
_e('Note: Timeouts can also be set at the web server layer, so if the PHP max timeout passes and you still see a build timeout messages, then your web server could be killing '
. 'the process. If you are on a budget host and limited on processing time, consider using the database or file filters to shrink the size of your overall package. '
. 'However use caution as excluding the wrong resources can cause your install to not work properly.', 'duplicator');
echo "
[" . esc_html__('details', 'duplicator') . "]";
if ($zip_check != null) {
echo '
';
echo '
';
_e('Get faster builds with Duplicator Pro with access to shell_exec zip.', 'duplicator');
echo '';
echo "
[" . esc_html__('details', 'duplicator') . "]";
}
//MANAGED HOST
$test = DUP_Custom_Host_Manager::getInstance()->isManaged() ? "true" : "false";
echo '
' . esc_html__('Managed Host', 'duplicator') . ": '{$test}'
";
_e('A managed host is a WordPress host that tightly controls the server environment so that the software running on it can be closely ‘managed’ by the hosting company. '
.'Managed hosts typically have constraints imposed to facilitate this management, including the locking down of certain files and directories as well as non-standard configurations.', 'duplicator');
echo '
';
_e('Duplicator Lite allows users to build a package on managed hosts, however, the installer may not properly install packages created on managed hosts due to the non-standard configurations of managed hosts. '
.'It is also possible the package engine of Duplicator Lite won’t be able to capture all of the necessary data of a site running on a managed host.', 'duplicator');
echo '
';
_e('
Due to these constraints Lite does not officially support the migration of managed hosts. '
.'It’s possible one could get the package to install but it may require custom manual effort. '
.'To get support and the advanced installer processing required for managed host support we encourage users to
'
.'upgrade to Duplicator Pro. '
.'Pro has more sophisticated package and installer logic and accounts for odd configurations associated with managed hosts.', 'duplicator');
echo '
';
?>