Elgg
Version 6.1
|
Go to the source code of this file.
Variables | |
$icon_ok = elgg_view_icon('check') | |
$icon_warning = elgg_view_icon('exclamation-triangle') | |
$icon_error = elgg_view_icon('times') | |
$view_module | |
$icon = $icon_ok | |
$title = elgg_echo('admin:server:label:php_version') | |
$value = PHP_VERSION | |
$subtext = '' | |
if (version_compare(PHP_VERSION,\ElggInstaller::PHP_MINIMAL_VERSION, '<')) | |
$extensions = get_loaded_extensions() | |
$requiredExtensions | |
foreach($requiredExtensions as $extension) | $recommendedExtensions |
foreach($recommendedExtensions as $extension) if(empty(ini_get('session.gc_probability'))||empty(ini_get('session.gc_divisor'))) | $db = _elgg_services()->db |
$version = $db->getServerVersion() | |
$min_version = $db->isMariaDB() ? \ElggInstaller::MARIADB_MINIMAL_VERSION : \ElggInstaller::MYSQL_MINIMAL_VERSION | |
if($db->isMariaDB()) elseif($db->isMySQL()) | else |
if (!in_array($server,['mysql', 'mariadb'])||version_compare($version?: '0', $min_version, '<')) | |
$client_parts = explode('\\', get_class($db->getConnection(DbConfig::READ_WRITE)->getDriver())) | |
$client = implode(' ', $client_parts) | |
$url | |
$tester = new RewriteTester() | |
$client = implode(' ', $client_parts) |
Definition at line 119 of file requirements.php.
$client_parts = explode('\\', get_class($db->getConnection(DbConfig::READ_WRITE)->getDriver())) |
Definition at line 117 of file requirements.php.
foreach ($recommendedExtensions as $extension) if (empty(ini_get('session.gc_probability'))||empty(ini_get('session.gc_divisor'))) $db = _elgg_services()->db |
Definition at line 94 of file requirements.php.
$extensions = get_loaded_extensions() |
Definition at line 44 of file requirements.php.
$icon = $icon_ok |
Definition at line 31 of file requirements.php.
$icon_error = elgg_view_icon('times') |
Definition at line 15 of file requirements.php.
$icon_ok = elgg_view_icon('check') |
Definition at line 13 of file requirements.php.
$icon_warning = elgg_view_icon('exclamation-triangle') |
Definition at line 14 of file requirements.php.
$min_version = $db->isMariaDB() ? \ElggInstaller::MARIADB_MINIMAL_VERSION : \ElggInstaller::MYSQL_MINIMAL_VERSION |
Definition at line 96 of file requirements.php.
foreach ($requiredExtensions as $extension) $recommendedExtensions |
Definition at line 68 of file requirements.php.
$requiredExtensions |
Definition at line 45 of file requirements.php.
$subtext = '' |
Definition at line 34 of file requirements.php.
$tester = new RewriteTester() |
Definition at line 137 of file requirements.php.
$title = elgg_echo('admin:server:label:php_version') |
Definition at line 32 of file requirements.php.
$url |
Definition at line 132 of file requirements.php.
$value = PHP_VERSION |
Definition at line 33 of file requirements.php.
$version = $db->getServerVersion() |
Definition at line 95 of file requirements.php.
$view_module |
Definition at line 17 of file requirements.php.
Definition at line 102 of file requirements.php.
if(!$tester->runRewriteTest($url)) |
Definition at line 36 of file requirements.php.
if(!in_array($server, ['mysql', 'mariadb'])||version_compare($version?: '0', $min_version, '<')) |
Definition at line 109 of file requirements.php.