Archive->FilterDirs); $filterFiles = explode(';', $Package->Archive->FilterFiles); if (!$Package->Archive->ExportOnlyDB && $Package->Archive->FilterOn) { $core_dir_included = array_intersect($filterDirs, DUP_Util::getWPCoreDirs()); if (count($core_dir_included)) { $core_dir_notice = true; } $core_files_included = array_intersect($filterFiles, 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. '); printf( esc_html_x( '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 %1$supgrade to Duplicator Pro%2$s. Pro has more sophisticated package and installer logic and accounts for odd configurations associated with managed hosts.', '1 and 2 are tags', 'duplicator' ), '', '' ); echo '

'; ?>
 ' . esc_html__('WordPress Version', 'duplicator') . ":  '{$wp_version}'
"; printf(__('It is recommended to have a version of WordPress that is greater than %1$s. Older version of WordPress can lead to migration issues and are a security risk. ' . 'If possible please update your WordPress site to the latest version.', 'duplicator'), DUPLICATOR_SCAN_MIN_WP); //CORE FILES echo '
 ' . esc_html__('Core Files', 'duplicator') . "
"; $filter_text = ""; if ($core_dir_notice) { echo ''; esc_html_e("The core WordPress paths below will NOT be included in the archive. These paths are required for WordPress to function!", 'duplicator'); echo "
"; foreach ($core_dir_included as $core_dir) { echo '     ' . $core_dir . '
'; } echo '

'; $filter_text = __("directories"); } if ($core_file_notice) { echo ''; esc_html_e("The core WordPress file below will NOT be included in the archive. This file is required for WordPress to function!", 'duplicator'); echo "
"; foreach ($core_files_included as $core_file) { echo '     ' . $core_file . '
'; } echo '

'; $filter_text .= (strlen($filter_text) > 0) ? __(" and file") : __("files"); } if (strlen($filter_text) > 0) { echo ''; printf( esc_html__( 'Note: Please change the %1$s filters if you wish to include the WordPress core files otherwise the data will have to be manually copied to the new location for the site to function properly.', 'duplicator' ), esc_html($filter_text) ); echo ''; } if (!$core_dir_notice && !$core_file_notice) : esc_html_e("If the scanner is unable to locate the wp-config.php file in the root directory, then you will need to manually copy it to its new location. " . "This check will also look for core WordPress paths that should be included in the archive for WordPress to work correctly.", 'duplicator'); endif; //CACHE DIR /* $cache_path = DUP_Util::safePath(WP_CONTENT_DIR) . '/cache'; $cache_size = DUP_Util::byteSize(DUP_Util::getDirectorySize($cache_path)); echo '
 ' . esc_html__('Cache Path', 'duplicator') . ":  '".esc_html($cache_path)."' (".esc_html($cache_size).")
"; _e("Cached data will lead to issues at install time and increases your archive size. Empty your cache directory before building the package by using " . "your cache plugins clear cache feature. Use caution if manually removing files the cache folder. The cache " . "size minimum threshold that triggers this warning is currently set at ", 'duplicator'); echo esc_html(DUP_Util::byteSize(DUPLICATOR_SCAN_CACHESIZE)) . '.'; */ //MU SITE if (is_multisite()) { echo '
 ' . esc_html__('Multisite: Unsupported', 'duplicator') . "
"; esc_html_e('Duplicator does not support WordPress multisite migrations. We strongly recommend using Duplicator Pro which currently supports full multisite migrations and various other ' . 'subsite scenarios.', 'duplicator'); echo '

'; esc_html_e('While it is not recommended you can still continue with the build of this package. At install time additional manual custom configurations will ' . 'need to be made to finalize this multisite migration. Please note that any support requests for mulitsite with Duplicator Lite will not be supported.', 'duplicator'); echo " [" . esc_html__('upgrade to pro', 'duplicator') . "]"; } else { echo '
 ' . esc_html__('Multisite: N/A', 'duplicator') . "
"; esc_html_e('This is not a multisite install so duplication will proceed without issue. Duplicator does not officially support multisite. However, Duplicator Pro supports ' . 'duplication of a full multisite network and also has the ability to install a multisite subsite as a standalone site.', 'duplicator'); echo " [" . esc_html__('upgrade to pro', 'duplicator') . "]"; } ?>