diff --git a/main/inc/lib/diagnoser.lib.php b/main/inc/lib/diagnoser.lib.php index 189ba3e4a4a..186dd906a5c 100755 --- a/main/inc/lib/diagnoser.lib.php +++ b/main/inc/lib/diagnoser.lib.php @@ -158,7 +158,7 @@ public function get_chamilo_data() $status, '[FILES]', get_lang('IsWritable').': '.$folder, - 'http://be2.php.net/manual/en/function.is-writable.php', + 'https://php.net/manual/en/function.is-writable.php', $writable, 1, 'yes_no', @@ -172,7 +172,7 @@ public function get_chamilo_data() $status, '[FILES]', get_lang('DirectoryExists').': /install', - 'http://be2.php.net/file_exists', + 'https://php.net/file_exists', $exists, 0, 'yes_no', @@ -273,7 +273,7 @@ public function get_php_data() $status, '[PHP]', 'phpversion()', - 'http://www.php.net/manual/en/function.phpversion.php', + 'https://php.net/manual/en/function.phpversion.php', phpversion(), '>= '.REQUIRED_PHP_VERSION, null, @@ -287,7 +287,7 @@ public function get_php_data() $status, '[INI]', 'output_buffering', - 'http://www.php.net/manual/en/outcontrol.configuration.php#ini.output-buffering', + 'https://php.net/manual/en/outcontrol.configuration.php#ini.output-buffering', $setting, $req_setting, 'on_off', @@ -301,7 +301,7 @@ public function get_php_data() $status, '[INI]', 'file_uploads', - 'http://www.php.net/manual/en/ini.core.php#ini.file-uploads', + 'https://php.net/manual/en/ini.core.php#ini.file-uploads', $setting, $req_setting, 'on_off', @@ -315,7 +315,7 @@ public function get_php_data() $status, '[INI]', 'magic_quotes_runtime', - 'http://www.php.net/manual/en/ini.core.php#ini.magic-quotes-runtime', + 'https://php.net/manual/en/ini.core.php#ini.magic-quotes-runtime', $setting, $req_setting, 'on_off', @@ -329,7 +329,7 @@ public function get_php_data() $status, '[INI]', 'safe_mode', - 'http://www.php.net/manual/en/ini.core.php#ini.safe-mode', + 'https://php.net/manual/en/ini.core.php#ini.safe-mode', $setting, $req_setting, 'on_off', @@ -343,7 +343,7 @@ public function get_php_data() $status, '[INI]', 'register_globals', - 'http://www.php.net/manual/en/ini.core.php#ini.register-globals', + 'https://php.net/manual/en/ini.core.php#ini.register-globals', $setting, $req_setting, 'on_off', @@ -357,7 +357,7 @@ public function get_php_data() $status, '[INI]', 'short_open_tag', - 'http://www.php.net/manual/en/ini.core.php#ini.short-open-tag', + 'https://php.net/manual/en/ini.core.php#ini.short-open-tag', $setting, $req_setting, 'on_off', @@ -371,7 +371,7 @@ public function get_php_data() $status, '[INI]', 'magic_quotes_gpc', - 'http://www.php.net/manual/en/ini.core.php#ini.magic_quotes_gpc', + 'https://php.net/manual/en/ini.core.php#ini.magic_quotes_gpc', $setting, $req_setting, 'on_off', @@ -385,7 +385,7 @@ public function get_php_data() $status, '[INI]', 'display_errors', - 'http://www.php.net/manual/en/ini.core.php#ini.display_errors', + 'https://php.net/manual/en/ini.core.php#ini.display_errors', $setting, $req_setting, 'on_off', @@ -402,7 +402,7 @@ public function get_php_data() $status, '[INI]', 'default_charset', - 'http://www.php.net/manual/en/ini.core.php#ini.default-charset', + 'https://php.net/manual/en/ini.core.php#ini.default-charset', $setting, $req_setting, null, @@ -416,7 +416,7 @@ public function get_php_data() $status, '[INI]', 'max_execution_time', - 'http://www.php.net/manual/en/ini.core.php#ini.max-execution-time', + 'https://php.net/manual/en/ini.core.php#ini.max-execution-time', $setting, $req_setting, null, @@ -430,7 +430,7 @@ public function get_php_data() $status, '[INI]', 'max_input_time', - 'http://www.php.net/manual/en/ini.core.php#ini.max-input-time', + 'https://php.net/manual/en/ini.core.php#ini.max-input-time', $setting, $req_setting, null, @@ -447,7 +447,7 @@ public function get_php_data() $status, '[INI]', 'memory_limit', - 'http://www.php.net/manual/en/ini.core.php#ini.memory-limit', + 'https://php.net/manual/en/ini.core.php#ini.memory-limit', $setting, $req_setting, null, @@ -464,7 +464,7 @@ public function get_php_data() $status, '[INI]', 'post_max_size', - 'http://www.php.net/manual/en/ini.core.php#ini.post-max-size', + 'https://php.net/manual/en/ini.core.php#ini.post-max-size', $setting, $req_setting, null, @@ -481,7 +481,7 @@ public function get_php_data() $status, '[INI]', 'upload_max_filesize', - 'http://www.php.net/manual/en/ini.core.php#ini.upload_max_filesize', + 'https://php.net/manual/en/ini.core.php#ini.upload_max_filesize', $setting, $req_setting, null, @@ -494,7 +494,7 @@ public function get_php_data() $status, '[INI]', 'upload_tmp_dir', - 'http://www.php.net/manual/en/ini.core.php#ini.upload_tmp_dir', + 'https://php.net/manual/en/ini.core.php#ini.upload_tmp_dir', $setting, '', null, @@ -508,7 +508,7 @@ public function get_php_data() $status, '[INI]', 'variables_order', - 'http://www.php.net/manual/en/ini.core.php#ini.variables-order', + 'https://php.net/manual/en/ini.core.php#ini.variables-order', $setting, $req_setting, null, @@ -522,7 +522,7 @@ public function get_php_data() $status, '[SESSION]', 'session.gc_maxlifetime', - 'http://www.php.net/manual/en/ini.core.php#session.gc-maxlifetime', + 'https://php.net/manual/en/ini.core.php#session.gc-maxlifetime', $setting, $req_setting, null, @@ -540,7 +540,7 @@ public function get_php_data() $status, '[INI]', 'browscap', - 'http://www.php.net/manual/en/misc.configuration.php#ini.browscap', + 'https://php.net/manual/en/misc.configuration.php#ini.browscap', $setting, $req_setting, 'on_off', @@ -550,7 +550,7 @@ public function get_php_data() // Extensions $extensions = [ 'gd' => [ - 'link' => 'https://www.php.net/gd', + 'link' => 'https://php.net/gd', 'expected' => 1, 'comment' => get_lang('ExtensionMustBeLoaded'), ], @@ -560,52 +560,52 @@ public function get_php_data() 'comment' => get_lang('ExtensionMustBeLoaded'), ], 'pcre' => [ - 'link' => 'https://www.php.net/pcre', + 'link' => 'https://php.net/pcre', 'expected' => 1, 'comment' => get_lang('ExtensionMustBeLoaded'), ], 'session' => [ - 'link' => 'https://www.php.net/session', + 'link' => 'https://php.net/session', 'expected' => 1, 'comment' => get_lang('ExtensionMustBeLoaded'), ], 'standard' => [ - 'link' => 'https://www.php.net/spl', + 'link' => 'https://php.net/spl', 'expected' => 1, 'comment' => get_lang('ExtensionMustBeLoaded'), ], 'zlib' => [ - 'link' => 'https://www.php.net/zlib', + 'link' => 'https://php.net/zlib', 'expected' => 1, 'comment' => get_lang('ExtensionMustBeLoaded'), ], 'curl' => [ - 'link' => 'https://www.php.net/curl', + 'link' => 'https://php.net/curl', 'expected' => 1, 'comment' => get_lang('ExtensionMustBeLoaded'), ], 'fileinfo' => [ - 'link' => 'https://www.php.net/fileinfo', + 'link' => 'https://php.net/fileinfo', 'expected' => 1, 'comment' => get_lang('ExtensionMustBeLoaded'), ], 'xsl' => [ - 'link' => 'https://be2.php.net/xsl', + 'link' => 'https://php.net/xsl', 'expected' => 2, 'comment' => get_lang('ExtensionShouldBeLoaded'), ], 'Zend OPcache' => [ - 'link' => 'https://www.php.net/opcache', + 'link' => 'https://php.net/opcache', 'expected' => 2, 'comment' => get_lang('ExtensionShouldBeLoaded'), ], 'apcu' => [ - 'link' => 'https://www.php.net/apcu', + 'link' => 'https://php.net/apcu', 'expected' => 2, 'comment' => get_lang('ExtensionShouldBeLoaded'), ], 'openssl' => [ //required only for DKIM e-mail signatures - 'link' => 'https://www.php.net/openssl', + 'link' => 'https://php.net/openssl', 'expected' => 2, 'comment' => get_lang('ExtensionShouldBeLoaded'), ], diff --git a/main/install/install.lib.php b/main/install/install.lib.php index 434ccdfd5e4..8c6bc9311b6 100755 --- a/main/install/install.lib.php +++ b/main/install/install.lib.php @@ -790,7 +790,7 @@ function display_requirements( // If PHP < 7.0, then an undefined date.timezone would trigger a // warning, so ask for it to be defined. Above 7.0, date.timezone // defaults to UTC and does not trigger warnings. - // See http://php.net/manual/en/migration70.other-changes.php + // See https://php.net/manual/en/migration70.other-changes.php $timezone = checkPhpSettingExists("date.timezone"); if (!$timezone) { echo "
". @@ -821,76 +821,76 @@ function display_requirements( echo ' - Session '.get_lang('Support').' + Session '.get_lang('Support').' '.checkExtension('session', get_lang('Yes'), get_lang('ExtensionSessionsNotAvailable')).' - pdo_mysql '.get_lang('Support').' + pdo_mysql '.get_lang('Support').' '.checkExtension('pdo_mysql', get_lang('Yes'), get_lang('ExtensionMySQLNotAvailable')).' - Zip '.get_lang('Support').' + Zip '.get_lang('Support').' '.checkExtension('zip', get_lang('Yes'), get_lang('ExtensionNotAvailable')).' - Zlib '.get_lang('Support').' + Zlib '.get_lang('Support').' '.checkExtension('zlib', get_lang('Yes'), get_lang('ExtensionZlibNotAvailable')).' - Perl-compatible regular expressions '.get_lang('Support').' + Perl-compatible regular expressions '.get_lang('Support').' '.checkExtension('pcre', get_lang('Yes'), get_lang('ExtensionPCRENotAvailable')).' - XML '.get_lang('Support').' + XML '.get_lang('Support').' '.checkExtension('xml', get_lang('Yes'), get_lang('No')).' - Internationalization '.get_lang('Support').' + Internationalization '.get_lang('Support').' '.checkExtension('intl', get_lang('Yes'), get_lang('No')).' - JSON '.get_lang('Support').' + JSON '.get_lang('Support').' '.checkExtension('json', get_lang('Yes'), get_lang('No')).' - GD '.get_lang('Support').' + GD '.get_lang('Support').' '.checkExtension('gd', get_lang('Yes'), get_lang('ExtensionGDNotAvailable')).' - cURL'.get_lang('Support').' + cURL'.get_lang('Support').' '.checkExtension('curl', get_lang('Yes'), get_lang('No')).' - FileInfo'.get_lang('Support').' + FileInfo'.get_lang('Support').' '.checkExtension('fileinfo', get_lang('Yes'), get_lang('No')).' - Multibyte string '.get_lang('Support').' ('.get_lang('Optional').') + Multibyte string '.get_lang('Support').' ('.get_lang('Optional').') '.checkExtension('mbstring', get_lang('Yes'), get_lang('ExtensionMBStringNotAvailable'), true).' - Zend OpCache '.get_lang('Support').' ('.get_lang('Optional').') + Zend OpCache '.get_lang('Support').' ('.get_lang('Optional').') '.checkExtension('Zend OPcache', get_lang('Yes'), get_lang('No'), true, 'opcache.enable').' - APCu '.get_lang('Support').' ('.get_lang('Optional').') + APCu '.get_lang('Support').' ('.get_lang('Optional').') '.checkExtension('apcu', get_lang('Yes'), get_lang('No'), true, 'apc.enabled').' - Iconv '.get_lang('Support').' ('.get_lang('Optional').') + Iconv '.get_lang('Support').' ('.get_lang('Optional').') '.checkExtension('iconv', get_lang('Yes'), get_lang('No'), true).' - LDAP '.get_lang('Support').' ('.get_lang('Optional').') + LDAP '.get_lang('Support').' ('.get_lang('Optional').') '.checkExtension('ldap', get_lang('Yes'), get_lang('ExtensionLDAPNotAvailable'), true).' - Xapian '.get_lang('Support').' ('.get_lang('Optional').') + Xapian '.get_lang('Support').' ('.get_lang('Optional').') '.checkExtension('xapian', get_lang('Yes'), get_lang('No'), true).' - OpenSSL '.get_lang('Support').' ('.get_lang('Optional').') + OpenSSL '.get_lang('Support').' ('.get_lang('Optional').') '.checkExtension('openssl', get_lang('Yes'), get_lang('No'), true).' '; @@ -910,62 +910,62 @@ function display_requirements( '.get_lang('Actual').' - Safe Mode + Safe Mode '.Display::label('OFF', 'success').' '.checkPhpSetting('safe_mode', 'OFF').' - Display Errors + Display Errors '.Display::label('OFF', 'success').' '.checkPhpSetting('display_errors', 'OFF').' - File Uploads + File Uploads '.Display::label('ON', 'success').' '.checkPhpSetting('file_uploads', 'ON').' - Magic Quotes GPC + Magic Quotes GPC '.Display::label('OFF', 'success').' '.checkPhpSetting('magic_quotes_gpc', 'OFF').' - Magic Quotes Runtime + Magic Quotes Runtime '.Display::label('OFF', 'success').' '.checkPhpSetting('magic_quotes_runtime', 'OFF').' - Register Globals + Register Globals '.Display::label('OFF', 'success').' '.checkPhpSetting('register_globals', 'OFF').' - Session auto start + Session auto start '.Display::label('OFF', 'success').' '.checkPhpSetting('session.auto_start', 'OFF').' - Short Open Tag + Short Open Tag '.Display::label('OFF', 'success').' '.checkPhpSetting('short_open_tag', 'OFF').' - Cookie HTTP Only + Cookie HTTP Only '.Display::label('ON', 'success').' '.checkPhpSetting('session.cookie_httponly', 'ON').' - Maximum upload file size + Maximum upload file size '.Display::label('>= '.REQUIRED_MIN_UPLOAD_MAX_FILESIZE.'M', 'success').' '.compare_setting_values(ini_get('upload_max_filesize'), REQUIRED_MIN_UPLOAD_MAX_FILESIZE).' - Maximum post size + Maximum post size '.Display::label('>= '.REQUIRED_MIN_POST_MAX_SIZE.'M', 'success').' '.compare_setting_values(ini_get('post_max_size'), REQUIRED_MIN_POST_MAX_SIZE).' - Memory Limit + Memory Limit '.Display::label('>= '.REQUIRED_MIN_MEMORY_LIMIT.'M', 'success').' '.compare_setting_values($originalMemoryLimit, REQUIRED_MIN_MEMORY_LIMIT).'