QSF requirements test

SUCCESS'; $_falseMessage = 'FALSE'; //Check if mod_rewrite enabled echo '

Apache check

'; echo '

'; if (!empty($_SERVER['HTTP_MOD_REWRITE'])){ echo $_successMessage .' - mod_rewrite is loaded'; } else { echo $_falseMessage .' - mod_rewrite not loaded'; } //Check PHP version echo '

PHP version check

'; echo '

'; if ((version_compare(phpversion(), '5.2.4', '>=') && version_compare(phpversion(), '5.3.0', '<'))) { echo $_successMessage . ' (' . phpversion() . ')'; } else { echo $_falseMessage . ' (' . phpversion() . ')'; } echo '

'; //Check if load PHP extension echo '

PHP extension check

'; foreach ($_neededExtension as $extension){ echo '

' . $extension . ' - '; if (in_array($extension, $_loadedExtendion)){ echo $_successMessage; } else { echo $_falseMessage; } echo '

'; } ?>