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

Choosing hosting, database and operating system

Decision tables for where an Exponential site runs: the six supported databases in order, operating system tiers, Velocity, FrankenPHP, Apache or nginx, install methods and a decision record.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/leadership/choosing-hosting-database-and-os.md

On this page

Choosing hosting, database and operating system

This page is for project managers who must take or sign off the platform decision, and for administrators who prepare it. It answers: which databases, operating systems and web servers Exponential supports and in which order the project recommends them, which install method fits which situation, and which questions decide the choice for your project. The facts come from Database support, Operating system support and chapters 2, 4 and 8 of the installation book; this page arranges them as decisions.

Contents

  1. The decision in five questions
  2. Database
  3. Operating system
  4. Web server and engine
  5. Hosting model
  6. Install method
  7. Sizing
  8. Backups and moving later
  9. A decision record to copy

The decision in five questions

QuestionIf the answer is ...Then consider
Does more than one machine have to write the database?yesA database server, PostgreSQL first; not SQLite
Does the hosting allow long-running processes?no (typical shared hosting)Apache or nginx with PHP-FPM; Velocity usually not
Is the machine's PHP 8.0?yes (for example the stock PHP 8.0 of RHEL 9)Any engine; Velocity runs on 8.0 from its release 0.0.4.54
Is the organization standardized on one database?yesThat database, if it is among the six; read its limits
Is there shell access on the server?noThe setup wizard in the browser

Each row is explained below with its source.

Database

Supported databases (Exponential 6.0.x), in order of preference: 1. SQLite 3 (the default) · 2. PostgreSQL · 3. MongoDB · 4. MariaDB · 5. Oracle · 6. MySQL. Microsoft SQL Server is known to be possible with additional work at this time. (Database support)

All six have a driver, an entry in the setup wizard and a path in the command-line installers (Database support).

Decision table

1. SQLite 32. PostgreSQL3. MongoDB4. MariaDB5. Oracle6. MySQL
Needs a database serverno (one file)yesyesyesyesyes
Several web servers on one databasenoyesyesyesyesyes
Tested in the project's CIdriver unit testsyes (PostgreSQL 15)adapter unit testsno (covered by the MySQL job, same driver)noyes (MySQL 8.0)
Practical minimum version3.33136.0 server, PHP 8.2a release your vendor supports19ca release your vendor supports
Choose it whenone machine; simplest operationyou need a database server; recommended serveryour organization runs MongoDByou want a MySQL-compatible serveryour organization runs Oracleyou already run MySQL

Sources: "At a glance" and "Versions, checked against the code" on Database support.

What the sources say about each choice

  • SQLite 3 is the default and "with the driver Exponential ships it is a full production database for a site served from one machine". Choose a server instead "when more than one machine must write the database", "when many editors publish large changes at the same moment all day, or when you need replication or database-level users and grants" (Database support).
  • PostgreSQL is "the recommended database server: strict SQL, row-level locking, replication and point-in-time recovery of its own, and it is tested in CI on every push".
  • MongoDB has documented limits: hand-written SQL it cannot translate returns an empty result, some cronjobs are not ported, eztags is not usable, and the shop checkout and ezflow scheduling are untested end to end (MongoDB limits). Check every extension you plan to use against them.
  • MariaDB runs on the same driver as MySQL and is "the MySQL-compatible server the project prefers".
  • Oracle (19c and later) is supported through the ezoracle extension, present in every installation.
  • MySQL is last in the order "not because it works less well, but because the project recommends the others first for new sites".
  • Microsoft SQL Server has no driver in 6.0.x; nothing should be read as a promise of one.

Tip

The project manager's question is not "which database is best" but "which database can our team run, back up and restore". Write the name of the person who restores it into the decision record.

Operating system

Exponential runs on "almost any" system "that runs PHP 8.0 or later (PHP 7.4 usable without support)". Operating system support sorts systems into four tiers:

TierMeaningExamples from the sources
1. Tested hereThe project runs it every day, or CI runs on it every pushAlmaLinux 9 (the development server, with Plesk), Ubuntu on GitHub Actions
2. Known to workCovered by documentation, packages or Velocity's CIRed Hat Enterprise Linux 9 and 10 and their rebuilds, Debian 12 and 13, Ubuntu 22.04 and 24.04, Alpine, Plesk, FreeBSD 14, macOS, Windows, Docker and Podman
3. Expected to workA maintained PHP 8 exists, nobody has watched Exponential run on itFedora, SUSE, Arch, cPanel and DirectAdmin hosts, Kubernetes and others
4. Not possible todayNo PHP 8 for the systemlisted so the question gets a straight answer

For a production project, prefer tier 1 or tier 2. A tier 3 system is "a reasoned expectation, not a test result" (The four tiers); if you choose one, put it in the risk register and plan a test installation early.

What every system has to provide is on Operating system support and in chapter 2: PHP 8.0 or later (Velocity included), the required PHP extensions, a database, Composer 2, writable directories, and 64-bit PHP recommended "for support of more than 30 languages".

Web server and engine

Chapter 8 compares the choices:

Exponential VelocityFrankenPHP (through Velocity)Apache + PHP-FPMnginx + PHP-FPM
Rolerecommended for every stageproduction-ready alternativetraditionaltraditional
PHP8.0 or laterthe PHP built into the binary8.0 or later8.0 or later
Separate web server needednonoyesyes
Separate HTTPS or certificate tool neededno: own certificates, self-signed fallback, ACMEno: your certificate or a self-signed oneyes: mod_ssl plus certbot or a hosting panelyes
Application kept in memoryyes (persistent workers)nonono
Suits shared hostingusually notusually notyesrarely

When to use a traditional server, according to chapter 8: "when your hosting does not allow long-running processes, when you already run a tuned Apache or nginx you want to keep, when the machine only has PHP 8.0 ... or when several customers on one machine need operating-system isolation from each other". The choices are not exclusive: Velocity can serve the site while Apache or nginx stays in place on the same files during a migration.

Other servers (LiteSpeed, Caddy with PHP-FPM, IIS, lighttpd) are tier 3; PHP's built-in server is for development only (Web servers).

More on Velocity: The persistent-worker server, The Velocity web server, The response cache, The control panel, HTTPS certificates. On FrankenPHP: FrankenPHP.

Hosting model

ModelWhat the sources sayQuestions for your project
Own server or virtual machineCloud machines "are ordinary Linux machines: tier 2 or 3 by their distribution"Who patches the operating system, PHP and the database?
Hosting panelPlesk is tier 1; cPanel and DirectAdmin tier 3; "shared hosting may forbid long-running processes, so Velocity may not be allowed"Does the panel allow long-running processes? Is there shell access?
Containers (Docker, Podman, Kubernetes)Keep var/ and settings/override on a persistent volume; with SQLite run one writing container; several replicas need a database server and shared storage for var/storageHow many replicas? Which database server?
Platform as a serviceExpected to work with PHP 8 and a writable persistent disk; a read-only or ephemeral file system needs var/ moved and a database serverIs the disk persistent?
Managed hosting by 7x7x offers "Exponential Website Hosting" and "Exponential Platform SSD Hosting"; prices and terms are on the 7x websiteAsk 7x directly; this help does not state terms

Sources: Containers, cloud and hosting panels, Who is 7x?.

Note

Exponential is free software and installs on any system that meets the requirements, so a project is not tied to a host. Moving a site later means moving files and a database; see Backups and moving later.

Install method

Chapter 4 offers one installer with three front ends:

SituationRecommendedWhy
First look on a laptopexp:installone command, SQLite, nothing to answer
First production install, done by handthe setup wizard, or exp:install with explicit optionsthe wizard explains each decision
Shared hosting without shell accessthe setup wizardit needs only a browser and FTP access
The same site built again and again (staging, test, training)the kickstarterthe reviewed kickstart.ini is the specification of the install
CI pipeline, container image, automated test environmentexp:installoptions or environment variables, exit status
No internet access on the serverthe kickstarter or the wizard with local packagespackages are taken from the local repository

For building websites the project recommends Git clones of the kernel and every extension with full history (Develop with Git). The site packages offered by the installer (for example sevenx_multisite, with or without demo content) are listed in 4.3 Site packages.

Sizing

The installation book is honest that "the documentation gives few hard numbers, and this book does not invent others". What it states (2.10 Memory, CPU and disk):

ItemValue
PHP memory_limitat least 64M
One Velocity workerabout 10 MB of private memory (measured)
Velocity poolWorkers=4 shipped
A MongoDB installationRAM 512 MB minimum, 2 GB recommended; disk 2 GB minimum, 10 GB recommended

Disk use grows with uploads and image variations (var/storage), caches and logs. The advice is to "measure a running site rather than guessing" with the benchmark command and Velocity's control panel. Plan a measurement on the test installation with real content into the schedule, before you commit to a machine size.

Performance levers by database are listed in Performance and scaling.

Backups and moving later

  • A complete backup is the database and the files: var/storage, settings/override and settings/siteaccess (Backup and restore).
  • Moving to another database is possible between the SQL engines with the schema dump and insert scripts, and into Oracle and MongoDB with their own tools; plan a maintenance window, because nothing may be published between the dump and the switch (Moving a site to another database).
  • Restore must be tested: the first-week checklist asks for a backup "taken and restored on another machine" (10.15).

A decision record to copy

Platform decision for <project name>          date: <date>        decided by: <names>

Product:            Exponential 6.0.x  /  <other product of the family>
Database:           <SQLite 3 | PostgreSQL | MongoDB | MariaDB | Oracle | MySQL>, version <x>
  Why:              <one or two sentences, with the row of the decision table>
  Who restores it:  <name>
Operating system:   <name and version>, tier <1-4> per the help's OS support page
PHP:                <version> for the web, <version> for the command line
Web server/engine:  <Velocity | FrankenPHP | Apache + PHP-FPM | nginx + PHP-FPM | other>
Hosting model:      <own server | panel | containers | PaaS | managed>
Install method:     <setup wizard | kickstarter | exp:install | Git clones + ...>
Environments:       development <where>, test <where>, production <where>
Backups:            what <database + var/storage + settings>, where <off the machine>, restore tested on <date>
Risks accepted:     <for example a tier 3 system, MongoDB limits checked against extensions X, Y>

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

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