Skip to content

Configuration

QUIQQER stores system configuration in the installation's etc/ directory. Many operational settings are also exposed through the administration interface.

Operators should understand both layers:

  • etc/ files are the persisted configuration files used by the runtime.
  • Administration settings provide a UI for selected configuration values.
  • Package settings can add additional configuration areas.

Configuration Files

Common files in etc/ include:

FilePurpose
conf.ini.phpMain system configuration such as paths, host, web server type, database, mail, session, and runtime flags.
cache.ini.phpCache-related configuration.
plugins.ini.phpInstalled package state and package-related metadata.
projects.ini.phpProject registration and project metadata.
templates.ini.phpTemplate assignment and template-related data.
source.list.ini.phpPackage source and update server configuration.
license.ini.phpLicense-related configuration.
htaccess.custom.phpCustom Apache rules included during .htaccess generation.
nginx/nginx.example.confGenerated NGINX configuration output.
nginx/conf.d/NGINX include files for local PHP, SSL, redirect, whitelist, and server customizations.

Do not commit production etc/ files into public repositories. They can contain environment-specific paths, database credentials, salts, license data, mail settings, and hostnames.

Main Configuration Areas

conf.ini.php is grouped into sections. Important operator-facing areas are:

SectionPurpose
globalsInstallation paths, host, language, timezone, cache flag, development flag, maintenance flag, and runtime behavior.
dbDatabase connection.
webserverWeb server type and HTTPS behavior.
mailMail transport, queue, sender, and logging settings.
sessionSession backend and lifetime.
session_redisRedis connection for session storage when Redis sessions are enabled.
errorError reporting and error mail behavior.
smartyTemplate engine runtime settings.

Changing these values can affect the whole installation. Keep a backup of the file before manual changes.

Web Server Settings

The webserver section controls which generated routing file QUIQQER expects:

SettingUse
webserver.typeSelects apache2.4, apache2.2, or nginx.
webserver.forceHttpsEnables generated HTTP-to-HTTPS redirects where supported by the generated server file.

Changing the web server type affects generated routing files. Regenerate the matching file after changing it:

shell
./console htaccess
./console --tool=quiqqer:nginx

See Web Server for Apache and NGINX details.

Session Settings

The session section controls where user sessions are stored. Current Core settings expose filesystem, database, memcached, and Redis session storage.

When Redis is used for sessions, the connection value is stored in session_redis.server. Keep the PHP web runtime and the CLI runtime aligned: both must be able to reach the configured session backend.

Session backend changes can log users out or invalidate active sessions. Plan them during a maintenance window and verify login in the administration interface afterwards.

Administration Settings

The administration interface exposes selected configuration values through settings panels. Core settings are declared by XML files such as:

  • packages/quiqqer/core/admin/settings/conf.xml
  • packages/quiqqer/core/admin/settings/cache.xml

Installed packages can add their own settings panels. These settings are still stored as system or package configuration and should be treated as operational changes.

Use the administration interface for normal changes when a setting is available there. Manual file edits are useful for recovery, deployment automation, or settings that are not exposed through the UI.

Changing Configuration Safely

Before changing configuration:

  • create a backup of the affected etc/ file
  • note the old value and the reason for the change
  • check whether the setting is available in the administration interface
  • understand whether the setting is environment-specific
  • plan cache clearing or setup runs if the setting affects runtime behavior

After changing configuration:

  • clear relevant caches
  • run setup when package configuration or generated definitions changed
  • regenerate web server files when web server customizations changed
  • verify frontend and administration interface
  • inspect logs for configuration-related errors

Examples

Maintenance mode can be controlled through the console:

shell
./console --tool=quiqqer:maintenance --status=on
./console --tool=quiqqer:maintenance --status=off

Apache custom rules should be added to:

text
etc/htaccess.custom.php

Then regenerate .htaccess:

shell
./console htaccess

Cache behavior can be changed through cache settings in the administration interface or through the corresponding configuration files. Clear caches after changing cache behavior.

Released under GPL-3.0-or-later.