Index: kernel/setup/ezsetuptests.php
===================================================================
--- kernel/setup/ezsetuptests.php	(revision 22910)
+++ kernel/setup/ezsetuptests.php	(working copy)
@@ -36,6 +36,7 @@
 function eZSetupTestTable()
 {
     return array( 'phpversion' => array( 'eZSetupTestPhpVersion' ),
+                  'variables_order' => array( 'eZSetupTestVariablesOrder' ),
                   'php_session' => array( 'eZSetupTestExtension' ),
                   'directory_permissions' => array( 'eZSetupTestDirectoryPermissions' ),
                   'settings_permission' => array( 'eZSetupTestFilePermissions' ),
@@ -324,6 +325,19 @@
                   'warning_version' => $warningVersion );
 }
 
+function eZSetupTestVariablesOrder( $type )
+{
+    $variablesOrder = ini_get( 'variables_order' );
+    $result = strpos( $variablesOrder, 'E' ) !== false;
+    return array(
+        'result' => $result,
+        'persistent_data' => array(
+            'result' => array( 'value' => $result ),
+            'found' => array( 'value' => $variablesOrder )
+         )
+    );
+}
+
 /*!
   Test if allowed to open URLs using fopen
 */
Index: settings/site.ini
===================================================================
--- settings/site.ini	(revision 22910)
+++ settings/site.ini	(working copy)
@@ -673,7 +673,7 @@
 # The pagelayout to use for first time setups
 PageLayout=setup_pagelayout.tpl
 # List of tests to be run, critical tests must pass for the setup to continue
-CriticalTests=directory_permissions;phpversion;database_extensions;image_conversion;open_basedir;safe_mode;memory_limit;execution_time;magic_quotes_runtime;allow_url_fopen;accept_path_info;php_session;file_upload;zlib_extension;dom_extension;timezone
+CriticalTests=variables_order;directory_permissions;phpversion;database_extensions;image_conversion;open_basedir;safe_mode;memory_limit;execution_time;magic_quotes_runtime;allow_url_fopen;accept_path_info;php_session;file_upload;zlib_extension;dom_extension;timezone
 OptionalTests=php_magicquotes;mbstring_extension;curl_extension;imagegd_extension;imagemagick_program;database_all_extensions;php_register_globals;texttoimage_functions
 OverrideSiteDesign=standard
 
