Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,113 of 9,113 pages
About the help in other languages
All help pages

site.ini [SetupSettings]

The settings of [SetupSettings] in site.ini: PageLayout, CriticalTests, OptionalTests, OverrideSiteDesign, AllowWizardOnInstalledSite, SharedStateDir

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/site/SetupSettings.md

On this page

site.ini [SetupSettings]

The block [SetupSettings] of settings/site.ini, with 6 setting(s).

Never edit settings/site.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/site.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/site.ini.append.php for one siteaccess,
  • extension/<extension>/settings/site.ini.append.php in an extension (read when the extension is active).

PageLayout

The pagelayout to use for first time setups

Default: setup_pagelayout.tpl.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[SetupSettings]
PageLayout=setup_pagelayout.tpl
*/ ?>

CriticalTests

List of tests to be run, critical tests must pass for the setup to continue

Default: directory_permissions;phpversion;database_extensions;image_conversion;safe_mode;memory_limit;execution_time;magic_quotes_runtime;allow_url_fopen;php_session;file_upload;zlib_extension;dom_extension;iconv_extension;mbstring_extension;intl_extension;xsl_extension;timezone;ezcversion.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[SetupSettings]
CriticalTests=directory_permissions;phpversion;database_extensions;image_conversion;safe_mode;memory_limit;execution_time;magic_quotes_runtime;allow_url_fopen;php_session;file_upload;zlib_extension;dom_extension;iconv_extension;mbstring_extension;intl_extension;xsl_extension;timezone;ezcversion
*/ ?>

OptionalTests

Default: variables_order;php_magicquotes;curl_extension;imagegd_extension;imagemagick_program;database_all_extensions;php_register_globals;texttoimage_functions;open_basedir.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[SetupSettings]
OptionalTests=variables_order;php_magicquotes;curl_extension;imagegd_extension;imagemagick_program;database_all_extensions;php_register_globals;texttoimage_functions;open_basedir
*/ ?>

OverrideSiteDesign

Default: standard.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[SetupSettings]
OverrideSiteDesign=standard
*/ ?>

AllowWizardOnInstalledSite

The setup wizard on a site that is already installed. It first shows a page
that says so and changes nothing. auto (the default): when the admin set
[SiteAccessSettings] CheckValidity=true, that page offers "Run the setup
wizard anyway", which leads to a confirm page; enabled: always offered;
disabled: never. Only the confirm page's POST starts the wizard and puts the
site into maintenance mode. Reinstalling is also done with the kickstarter
or a fresh installation.

Default: auto. Values: auto, enabled, disabled (any other value counts as auto). See The setup wizard on an installed site.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php: the wizard never runs on this installed site, even with CheckValidity=true
[SetupSettings]
AllowWizardOnInstalledSite=disabled
*/ ?>

SharedStateDir

Where the setup wizard keeps what every node of a site served by several
nodes must see: its lease (maintenance mode while it runs), its run and
setup.log, the installed marker, and copies of the files it writes (the new
site's settings, imported packages) for the node that serves the next step.
A directory on storage every node shares, absolute or relative to the
installation; the environment variable EXP_SETUP_SHARED_STATE_DIR takes
precedence. Empty: <MountPointPath>/var/exp-setup when file.ini uses
eZDFSFileHandler, else none, and a single node keeps all of it in var/.

Default: empty. See Several web nodes and The setup wizard.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php: every node mounts /mnt/shared
[SetupSettings]
SharedStateDir=/mnt/shared/exp-setup
*/ ?>

Generated by ./console exp:help:examples from settings/site.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x