'; if (!empty($_SERVER['HTTP_MOD_REWRITE'])){ echo $_successMessage .' - mod_rewrite is loaded'; } else { echo $_falseMessage .' - mod_rewrite not loaded'; } //Check PHP version echo '
'; $phpVersionRequired = '5.4.0'; $phpCurrentVersion = phpversion(); if (version_compare($phpCurrentVersion, $phpVersionRequired, '>=') && version_compare($phpCurrentVersion, '5.5.0', '<')) { echo $_successMessage . ' (' . phpversion() . ')'; } else { echo $_falseMessage . ' (' . phpversion() . ')'; } echo '
'; //Check if load PHP extension echo '' . $extension . ' - '; if (in_array($extension, $_loadedExtendion)){ echo $_successMessage; } else { echo $_falseMessage; } echo '
'; } ?>