= 50400) && (PHP_VERSION_ID < 50700) ) { $phpversion_str = '' . phpversion() . ''; $status_phpversion_str = 'OK'; } else { $phpversion_str = '' . phpversion() . ''; $status_phpversion_str = 'Off'; } $ioncube_loader_version = ioncube_loader_version_array(); if ($ioncube_loader_version) { if( $ioncube_loader_version['major'] >= $ic_version[0] && $ioncube_loader_version['minor'] >= $ic_version[1] && $ioncube_loader_version['revision'] >= $ic_version[2] ) { $ioncube_version_str = 'Installed, ver. ' . $ioncube_loader_version['version'] . ''; $status_ioncube_str = 'OK'; } else { $ioncube_version_str = 'Installed, ver. ' . $ioncube_loader_version['version'] . ''; $status_ioncube_str = 'Off'; } } else { $ioncube_version_str = 'Not Installed'; $status_ioncube_str = 'Off'; } ?> Скрипт для проверки системы
Текущие настройки Необходимые настройки Состояние
PHP Version: 5.4+
ionCube PHP Loader: ..+
$ioncube_loader_version, 'major'=>$ioncube_loader_version_major, 'minor'=>$ioncube_loader_version_minor, 'revision' => $ioncube_loader_version_revision); } else { return false; } } function server_info() { if (isset($_SERVER['SERVER_SOFTWARE'])) { $status = $_SERVER['SERVER_SOFTWARE']; } else if (($sf = getenv('SERVER_SOFTWARE'))) { $status = $sf; } else { $status = 'n/a'; } $body = $status . "
\n" . "Server Name: " . $_SERVER['SERVER_NAME'] . "
" . "Server IP:" . $_SERVER['SERVER_ADDR'] . "
"; return $body; } ?>