Mautic server requirements

Mautic server requirements depend on the release line you choose, so the PHP, database, web server and npm versions must be fixed before anything is installed. This page explains how to size and prepare the server.

On this page

Mautic server requirements: what your server must provide before install

The Mautic release line you choose sets the server stack, so that decision comes first. Mautic 7.0 requires PHP 8.2, 8.3, 8.4 or 8.5, MySQL 5.7 or higher with InnoDB or MariaDB 10.2 or higher, and Apache, Nginx or IIS, and npm is required from Mautic 5.0 onward. Older release lines have different PHP and database floors, so confirm the exact versions against the Mautic requirements page for the release you plan to run. Support windows also matter: Mautic 7.2 receives security support until 30 September 2026, and Mautic 7.3 is planned as the long-term support release with security support through 31 December 2027. A team choosing a line for a new install should weigh those dates against its own change calendar.

The stack covers more than the web server. It includes the PHP version and its extensions, the database engine and its InnoDB storage setting, the web server and its PHP integration, npm for building front-end assets, and the cron and queue processes that Mautic depends on for segment updates, campaigns and queued email. Someone must own that server after go-live, including OS patching, PHP and database security updates and the monthly, quarterly and two-yearly Mautic releases. Assign that owner before install. The work is needed for a new install, for a migration off an older instance, and for a planned upgrade that moves the PHP or database version forward.

Mautic is free software with no paid edition, so the cost is the infrastructure and the people who run it. Hosting, backups, monitoring and staff time recur every month, while the initial build and configuration are one-time costs. Ask any partner for a written scope that lists the servers, the PHP and database versions they will install, who handles patching and who is on call for failed cron jobs. The Mautic project states that Mautic should not run on shared hosting and recommends a VPS or dedicated server, so budget for that class of host from the start.

PHP and release line options for Mautic

This table compares five Mautic release lines by PHP range, security support end date and the kind of install each suits. Read the support column as the date a line stops receiving security fixes, and confirm current status on the Mautic releases page before choosing, because the 7.2 and 6.0 end dates fall in 2026.

Release linePHP supportSecurity supportFit for a new decision
Mautic 7.2 (Absolunto)PHP 8.2, 8.3, 8.4 or 8.5Active and security support until 30 September 2026Current line with a defined PHP range. Plan a move to 7.3 or later before its security support ends.
Mautic 7.3 (planned LTS)Confirm the PHP range on the requirements pageSecurity support through 31 December 2027Likely fit for a long-lived install if it ships as planned. Confirm release status before you commit.
Mautic 6.0 (Tabit)Confirm the PHP range for this lineSecurity support until 30 September 2026Short runway. Suitable only for an install with an upgrade scheduled during 2026.
Mautic 5.2 (Capella)Confirm the PHP range. npm is required from 5.0 onwardSecurity support until 30 June 2026Earliest end date in this table. Use only for an existing install with an upgrade already planned.
Mautic 4.4Confirm the PHP range for this linePaid Extended Long Term Support through 31 December 2026Legacy option for installs that need paid extended support. Not a choice for a new build.

How to prepare the server for Mautic step by step

This sequence takes a bare host from release selection to a server that meets Mautic's documented stack, so the installer can run without fighting the platform. Each step ends with a check you can run before moving on.

  1. Choose the Mautic release line

    Pick the release line before you provision anything, because the release determines which PHP versions you need and how long security support lasts. Mautic 7.2 supports PHP 8.2 to 8.5 with security support until 30 September 2026, and Mautic 7.3 is planned as the long-term support release with security support through 31 December 2027. Confirm the current status of each line on the Mautic releases page and record the PHP version range that goes with your choice. Done when you have a written release line and a matching PHP range that your team has approved.

  2. Provision a VPS or dedicated server

    Your infrastructure or platform team provisions a VPS or dedicated server in the environment you control. The Mautic project states that Mautic should not be installed on shared hosting, so shared plans are excluded at this stage. Ask your team to confirm CPU, memory, disk and network capacity against the expected contact volume and cron workload, since the documentation does not give a single sizing figure. Done when you can log in with root or sudo access, the operating system is patched, and the host has a fixed address and DNS name.

  3. Install PHP with the required extensions

    Install the PHP version that matches your chosen release, then add the extensions Mautic's requirements page lists for that release. Use the PHP build your operating system or your approved repository supplies, and keep the CLI and web SAPI on the same version so cron jobs and the web application behave the same way. Confirm the installed version and extension list before you continue. Done when php -v reports a supported version and php -m shows every required extension for your release.

  4. Install and secure MySQL or MariaDB

    Install MySQL 5.7 or higher or MariaDB 10.2 or higher, and make sure the default storage engine for Mautic tables is InnoDB. Set a strong root password, remove anonymous accounts and test-database defaults, and restrict remote access so the database listens only where Mautic needs it. Create a dedicated database and user with privileges limited to that database. Done when a login as the Mautic user succeeds, SELECT ENGINE FROM information_schema.TABLES on a test table reports InnoDB, and remote root login is refused.

  5. Configure Apache, Nginx or IIS

    Install and configure one supported web server: Apache, Nginx or IIS. Point the document root to the Mautic docroot, enable the PHP handler for your PHP version, and set the server to serve only over the hostname you plan to use. Enable HTTPS with a certificate from your certificate process, because tracking, forms and SAML depend on the correct scheme and host. Done when the server returns a response from the Mautic docroot over HTTPS and the PHP handler executes a test page, which you should delete afterward.

  6. Install npm for release 5.0 and later

    If you are installing Mautic 5.0 or later, install Node.js with npm on the server, since Mautic's requirements page lists npm from version 5.0 onward. Install it from your operating system repository or your approved source, and run the install as an administrative user rather than the web server user. Record the npm version for your build notes. Done when npm -v returns a version number from the same host that will run the Mautic installation. For Mautic 4.x, this step is not required.

  7. Confirm writable directories and PHP limits

    Create the directories Mautic must write to, assign them to the web server user, and remove write access from the rest of the codebase. Then check the PHP limits the installer needs, including memory limit, upload size and execution time, and raise them in the PHP configuration for the web SAPI and the CLI where needed. The execution time guidance for installs is at least 240 seconds. Done when the web server user can write to the configured paths, a test write as that user succeeds, and php -i shows the limits you set.

  8. Record the server baseline for handover

    Document the final stack in a short baseline record: operating system and version, PHP version and extensions, database engine and version, web server and version, npm version, and the release line you chose. Include the owner of each component and who approves changes. Ask your partner or internal team to confirm the baseline against the requirements page for your release before the installer runs. Done when the record is stored with your change documentation and a second engineer has reviewed it.

Why shared hosting is ruled out for Mautic

The Mautic project states that Mautic should not be installed on shared hosting and recommends a VPS or dedicated server instead. Treat that as a requirements decision made before you size anything else. If your only option is a shared plan, the question is not whether Mautic can be made to run, but whether the platform will meet the operational conditions Mautic depends on. Those conditions are listed on the Mautic requirements page, and they should be checked against your hosting provider's documentation before you buy anything.

The first condition is scheduled work. Mautic relies on cron jobs to update segments, update campaigns and fire campaign triggers, and the project's documentation says these jobs should be staggered. Segment and campaign timing depends on those jobs running on schedule, so you need a host where you can create and manage cron entries and where a job that runs long or fails is visible to you. A broadcasts command handles segment emails, and when email is queued you may also need a messenger consumer running continuously. Confirm that your host allows long-running background processes, not only scheduled scripts.

The second condition is the software stack. The release you choose sets the PHP and database versions you need. For Mautic 7.0, the requirements page lists PHP 8.2 through 8.5, MySQL 5.7 or higher with InnoDB, or MariaDB 10.2 or higher, and Apache, Nginx or IIS, with npm required from Mautic 5.0 onward. Ask any provider to confirm, in writing, the PHP version you can select per site, the database engine and version, the web server, and whether Node.js and npm can be installed. Also confirm that you have root or equivalent access for the installer and file permissions, because a host that locks these settings will block the installation and later upgrades.

Security and operational considerations for the Mautic server

A Mautic server holds contact data, consent records and campaign credentials, so the server decisions matter as much as the install. The cards below cover the patching, isolation, access, file permission, transport and backup choices that connect the requirements to a server you can defend and keep running.

Patch PHP and the database

Run a PHP version and a database release that are still in security support for your Mautic release line. Check the release page before you choose versions, because a Mautic release can leave an older PHP or database line behind. Put the patch schedule on the calendar with an owner, and test each update on a staging copy before production.

Mautic releases

Separate the database host

Move MySQL or MariaDB to its own host so a web server compromise does not hand over the full contact table and its credentials. Restrict the database port to the Mautic web and worker hosts only, and give Mautic a dedicated database user with the permissions the install needs. Confirm backup access on the database host separately from the web host.

Restrict server and cron user access

Limit shell access to named administrators with key-based logins, and run cron jobs as the web server user rather than root. Mautic's segment, campaign and broadcast jobs need write access to the application, so an overly broad cron user widens the blast radius. Log and review who runs console commands on the server.

Keep the web root and writable directories tight

Serve only the public directory from the web root, and keep configuration, vendor code and logs outside it. Grant write access only to the directories Mautic needs, such as cache, logs and media, and keep application code read-only for the web user where your setup allows. Recheck these permissions after every update, since a Composer or installer run can reset them.

Encrypt admin and SAML traffic

Terminate TLS for the admin interface, tracking endpoints and any SAML single sign-on callbacks, and do not expose plain HTTP for login. Mautic authenticates users with basic authentication and can also use SAML, which must supply email, first name and last name attributes. No LDAP option is documented, so confirm the identity provider path with your identity team before go-live.

Authentication docs

Plan backups and restore tests

Back up the database, the configuration and the uploaded media on a schedule, and store copies away from the server. A backup is only useful after a restore has been tested, so rehearse a restore onto a clean host and time it. Include the encryption keys and configuration needed to read the backed-up data.

Questions teams ask about Mautic server requirements

Which PHP version should I pick for a new Mautic install?

Pick a PHP version that the Mautic release you intend to run supports, and choose that release on purpose. Mautic 7.0 requires PHP 8.2, 8.3, 8.4 or 8.5. Mautic 7.2 (Absolunto) supports PHP 8.2 to 8.5 with active and security support until 30 September 2026, and Mautic 7.3 is planned as the long-term support release with security support through 31 December 2027. For a new install, start from the newest release line that fits your timeline, then confirm the PHP version and extensions against the Mautic requirements page before you build the server. Ask your partner to record the chosen release and PHP version in the server runbook so later upgrades start from a known baseline.

Can Mautic run on shared hosting?

No. The Mautic project states that Mautic should not be installed on shared hosting and recommends a VPS or dedicated server instead. Shared plans usually limit the processes, memory and scheduled jobs that Mautic needs for segment updates, campaign triggers and queued email. Those jobs depend on cron and a messenger consumer, so a host that restricts them will cause stalled campaigns and failed sends. Plan for a VPS or dedicated server with root or sudo access, enough memory for PHP and the database, and a separate database host if traffic grows. Confirm the host's specifications against the requirements page before you sign a contract.

Does MariaDB work in place of MySQL for Mautic?

Yes, if you use a supported version with InnoDB. Mautic 7.0 requires MySQL 5.7 or higher with InnoDB, or MariaDB 10.2 or higher. Check the storage engine on every table after installation, and set the database character set and collation as the install guide describes. Keep the database user limited to the Mautic schema. Confirm the exact database version your Mautic release and your operating system support before you choose between the two, because the minimum versions above are only the floor.

What does the server work cost, and who pays for each part?

The cost has three parts: infrastructure, labor and ongoing patching. Infrastructure is the VPS or dedicated server, storage, backups and any separate database host, usually billed by your cloud provider or data center on a recurring basis. Labor is the one-time build: provisioning the server, installing PHP, the database, the web server and npm, configuring the proxy and cron, and testing. Ongoing patching is recurring, because each Mautic release line has its own support window and PHP versions reach end of support. When you request a quote, ask for each line separately, state whether it is one-time or recurring, and confirm who holds the cloud account and the admin credentials. No price figures apply here; DeployOpen does not publish prices and a quote follows from the written scope.

How long does server preparation take, and what drives the time?

The time depends on how many components must be built, how standard your environment is, and how quickly access and decisions arrive. The main drivers are the PHP version and extensions you need, whether you run Apache, Nginx or IIS, whether the database sits on its own host, how many environments you need (for example, staging and production), and whether the proxy, domain and TLS certificates already exist. Delays usually come from waiting on network access, DNS changes, certificate issuance and approvals rather than from the install itself. Ask for a written plan with the environments, handover points and dependencies listed, so the schedule reflects your own infrastructure.

Can our internal team prepare the server without outside help?

Yes, if the team has Linux administration experience, can manage PHP and the chosen web server, understands cron and background workers, and has a process for patching. Mautic's own documentation covers the requirements, and the install process is well documented. The risk sits in the details that cause failures later: file ownership for the web server user, PHP limits, the cron schedule and the queue consumer, and the proxy settings that keep tracking and SAML URLs correct. Before you decide, list which of these skills exist in-house, who will be on call for failed jobs, and who will patch the server each quarter. If any answer is unclear, a fixed-scope partner engagement can cover the build and leave your team with written runbooks.

What do you need from us to prepare the server?

A partner needs access, decisions and volume information before the build starts. Ask your team to provide access to the cloud account or data center environment, administrator credentials for the server and DNS, and a named technical contact who can approve changes. Confirm the Mautic release line you will run, the PHP version and whether you need Composer-based installation. Share the expected contact volume and monthly send volume so the database and queue sizing reflect real use. Name your email provider or transport early, because outbound mail rules and sending IP addresses affect the server design. Finally, confirm where backups must be stored and who owns the retention policy.

How the Mautic server stack fits together

Requests start in a browser or a tracking script on a visitor's site and reach the web server, which hands PHP work to the PHP runtime with its required extensions. PHP reads and writes the MySQL or MariaDB database, which should sit behind the trust boundary on its own host. Cron jobs and the messenger consumer run the same codebase in the background, and npm is used during the build rather than at runtime. Check that the web tier can reach the database, and that the database host accepts connections only from the application tier.

Request, job and database paths across the Mautic server, with the trust boundary before the database host.

How to size the server for your contact base

No published sizing figures were supplied for Mautic, so the server size has to come from a load estimate built on your own numbers. Start with four inputs: the number of contacts you will hold, the monthly email volume, the number of active segments and the number of campaigns that run on a schedule. Add the cron schedule you plan to use, because segment rebuilds, campaign updates and campaign triggers all run as background jobs that compete for the same CPU, memory and database capacity as the web requests from visitors and staff.

Before you commit to hardware, run a pilot on a server that matches your planned stack and measure what it actually does. Watch CPU and memory during cron runs, the duration of each segment and campaign job, the length of the message queue when emails are sent through the messenger consumer, and database load and slow queries. Test with a realistic copy of your contact data, not an empty install, and record how long a full segment rebuild takes. Mautic's cron job documentation explains which jobs must be staggered, which helps you set the pilot schedule. Load grows with campaigns: each additional campaign with contact-level triggers adds recurring work, so the queue and cron load usually rises faster than the contact count alone.

When you ask a partner for a sizing proposal, ask them to produce a written load model that states the assumptions behind each input, the pilot test plan and its pass criteria, and the server tiers they recommend for the first year and for your planned campaign growth. Ask which components are sized separately (web, database, worker and cron host), what the upgrade path looks like if the pilot exceeds the plan, and which monitoring you will need to confirm the capacity holds after launch. Confirm any hardware or hosting figures with your infrastructure team and your chosen provider, since these depend on your environment.

What DeployOpen delivers for server preparation

Server preparation for Mautic is a set of decisions that depend on the release you choose and the data you expect to hold. The deliverables below turn those decisions into a written baseline that your platform, security and operations teams can review and run in your own infrastructure.

Written requirements check

We compare the Mautic release you intend to run against its published PHP, database, web server and npm requirements, and record which release line fits your support window. The check also flags whether your hosting model is the shared hosting the project advises against. Your team receives a signed-off list of what must be true before installation begins.

Ruled out
Shared hosting
Mautic requirements

Server build and hardening plan

We document how the server is built in your environment: operating system baseline, PHP-FPM or module setup, the web server virtual host, file ownership for the web server user, and outbound network rules for mail and integrations. Hardening steps cover account access, TLS, and the services that do not need to listen publicly. The plan is written so your team can reproduce it.

Version matrix for the stack

We produce one table that pairs the chosen Mautic release with the supported PHP version, the required PHP extensions, the MySQL or MariaDB version with InnoDB, the web server, and npm. Each row cites the supported range so upgrades can be checked against it before they are scheduled. Your team keeps this matrix as the reference for later patch and minor releases.

Sizing note from your data

We estimate CPU, memory and disk needs from your expected contact volume, send volume, and the number of cron jobs and queue workers that will run against the same host or a separate one. The note states assumptions and the figures to recheck once real load is visible. Ask for the sizing inputs we used so you can challenge them during review.

Operations handover notes

We hand over a runbook covering the server baseline, the version matrix, the cron and queue dependencies that must keep running, and the checks to repeat after OS or PHP patching. It also lists which settings belong to the platform team and which belong to the marketing operations team. Your operators can use it to plan maintenance windows without reopening the design.

How DeployOpen scopes and supports Mautic server work

DeployOpen plans and prepares servers for self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Mautic, that means the server, PHP runtime, database host, web server and network path are designed and built in your environment, so the Mautic instance, its cron schedule and its queue workers run on infrastructure your team can audit and operate. Nothing is hosted on DeployOpen's accounts, and access is granted to the systems you choose.

Most engagements are fixed-scope. Before work starts, the scope, the deliverables and the timeline are agreed in writing. For server requirements work, a written scope should name the Mautic release line you will run, the PHP version and extensions it requires, the database engine and version, the web server, the sizing assumptions, the outbound mail and proxy paths, and the verification steps that show the stack is ready. Ask for each item to be listed as a deliverable, so you can check the result against the document rather than against memory.

DeployOpen does not publish a price list. A quote follows from the written scope, so the inputs that move cost are the number of environments, whether the work covers one server or a cluster, how many systems must be integrated, and how much documentation and handover your team needs. Ongoing support, upgrades and continuous checks are available as a retainer, which suits teams that want the stack kept on a supported Mautic release line after the initial build. Confirm the support hours, response expectations and upgrade responsibilities in the retainer terms before you sign.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.