# Why is Mautic so difficult to install?

**URL:** https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572
**Category:** Mautic 3 - Install/Upgrade Support
**Created:** [August 9, 2020, 2:42am UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572 "2020-08-09T02:42:18Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![modifiedcontent](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/modifiedcontent/32/511_2.png) [@modifiedcontent](https://forum.mautic.org/u/modifiedcontent)
#### Post date: [September 19, 2022, 3:36pm UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/25 "2022-09-19T15:36:43Z")

</div>

Here are my notes for how to install Mautic from many years ago [before The Event](https://www.youtube.com/watch?v=22mt0cVyW5c) - developers, please correct where this goes wrong:

The following are instructions to install Mautic (2.15.3, old version, replace with latest of course) on CentOS 6 with PHP 7.2.

I used EasyApache in WHM on my Bluehost CentOS VPS to upgrade to PHP 7.1, PHP 7.2 and PHP 7.3, then used MultiPHP Manager in WHM to set the default version to PHP 7.2 and used MultiPHP INI Editor to enable allow\_url\_open, increase memory\_limit to 512M, max\_execution\_time to 300, post\_max\_size and upload\_max\_filesize to 64M

When you install or configure PHP, whatever method you use, make sure the following extensions are installed:

php-zip php-xml php-imap php-mcrypt php-mysql php-mbstring php-curl php-amqplib php-mbstring php-bcmath php-intl

The following are not strictly required, but apparently recommended:

php-opcache php-apcu php-memcached memcached memcached-devel

The first Mautic version that supports PHP 7.2 is apparently version 2.15.0. Version 2.15.1 seems to work on my server.

SSH into your server as a regular user, NOT as root. To switch from root to another user, like username, use:

su - username

Then navigate to your web root or directory where you want to install Mautic:

cd /home/username/public\_html/mautic

wget [https://github.com/mautic/mautic/archive/2.15.3.tar.gz](https://github.com/mautic/mautic/archive/2.15.3.tar.gz)

tar -zxvf 2.15.3.tar.gz -C /home/username/public\_html/mautic

Check with FTP if your files are where you want them. They will be in a folder with an inconvenient name; you may have to rename the folder or/and move the files down one level.

On the command line, make sure you are in the directory where your Mautic files are, then install the dependencies:

pwd

composer install

npm install

You may have to install npm/node.js - cough, spit - on your server first:

> **[How to Install Node.js and npm on CentOS 7](https://linuxize.com/post/how-to-install-node-js-on-centos-7/)**
>
> This tutorial walks you through the steps to install Node.js and npm on a CentOS 7 machine. Node.js is a cross-platform JavaScript run-time environment that allows server-side execution of JavaScript code.

Make sure your Mautic files are owned by Apache. First find out which user Apache is running as:

lsof -i | grep :http

On CentOS it will be either ‘apache’ or ‘nobody’. Then run something like this:

chown -R nobody:nobody /home/username/public\_html/mautic

Or on CentOS 7 this seemed to work:

chown -R username:username /home/username/public\_html/mautic

Opening [yourdomain.com](http://yourdomain.com/mautic) in your browser should now give you access to the installer. Follow the instructions. Everything should be OK from here on.

If you get a server error, try to run mautic as user:

chown -R username:username /home/username/public\_html/mautic

Sending mailings from Mautic will not work, even if single test mails work fine, because you also have to set up cron jobs. Look for the Mautic documentation on this issue. cPanel has an interface to set up cron jobs.

Commands you may want to set up as cron jobs are the following:

php bin/console mautic:segments:update

php bin/console mautic:campaigns:rebuild --batch-limit=100

php bin/console mautic:campaigns:trigger --batch-limit=50

php bin/console mautic:emails:send

php bin/console mautic:email:fetch

php bin/console mautic:social:monitoring

php bin/console mautic:webhooks:process

php bin/console mautic:iplookup:download

php bin/console mautic:maintenance:cleanup --days-old=365 --dry-run

If you still run into problems, check the most common Mautic misconfigurations here:

> **[Common Misconfigurations for Mautic Instances - Autoize](https://autoize.com/common-mautic-misconfigurations/)**
>
> Est. reading time: 14 minutes

---

<div class="post-metadata">

### Author: ![mirash01](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mirash01/32/7762_2.png) [@mirash01](https://forum.mautic.org/u/mirash01)
#### Post date: [September 19, 2022, 5:53pm UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/26 "2022-09-19T17:53:37Z")

</div>

Thank you I been doing everything correctly (I think) even I was checking permission for files but could you tell me why Mautic 3.x or 4.x dont have installation folder in zip file ? I been doing composer install and everything went smooth but still no luck with that installation folder any idea??

My issue can be cos i used Hestia panel as starting point ??  
system Debian 10

by the way i will follow your instruction and hope it will works

thank you

---

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [September 19, 2022, 8:42pm UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/27 "2022-09-19T20:42:54Z")

</div>

With the proper editing of json.config file, we can install Mautic 4 and I am sure even upcoming 5 on cPanel. I have a 4 running on cPanel using composer install.

I did a post or reply to a post on how to do this so do a search on my username to find the post on this forum.

I plan to post a tutorial but am waiting on one issue to be eliminated before posting it.

---

<div class="post-metadata">

### Author: ![vincent.fr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/vincent.fr/32/6600_2.png) [@vincent.fr](https://forum.mautic.org/u/vincent.fr)
#### Post date: [November 12, 2022, 8:11pm UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/28 "2022-11-12T20:11:39Z")

</div>

I’m newbie here. however, it seems to me that composer makes installation very easier now. I spend some hours to understand composer. but it’s worth it. see [https://github.com/mautic/recommended-project](https://github.com/mautic/recommended-project) for more details.

One thing might be not easy for beginner to follow in that guide is to one has to change owner and group of the `docroot` and `bin` directory, so that the web server can read and write there. At least that’s what I did to make it work (hopefully it’s correct).

---

<div class="post-metadata">

### Author: ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)
#### Post date: [May 21, 2023, 3:30pm UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/29 "2023-05-21T15:30:40Z")

</div>

Mautic 4 installation process is broken:

> [@Mautic 4.4.8 composer install is broken](https://forum.mautic.org/t/mautic-4-4-8-composer-install-is-broken/28097):
>
> My PHP version is : 8.0 My MySQL/MariaDB version is: MariaDB 10.6 I am Installing with composer: Following the instructions found here: These messages and errors are showing in the CLI : composer create-project mautic/recommended-project:^4 some-dir --no-interaction PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used …

---

<div class="post-metadata">

### Author: ![ceolteschool](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@ceolteschool](https://forum.mautic.org/u/ceolteschool)
#### Post date: [May 28, 2023, 7:47pm UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/30 "2023-05-28T19:47:44Z")

</div>

There are a lot of commercial options for 100+ USD working well. Free is always problems. And no support.

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [May 29, 2023, 6:20am UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/31 "2023-05-29T06:20:43Z")

</div>

? Commercial option for self hosted marketing automation?

---

<div class="post-metadata">

### Author: ![ceolteschool](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@ceolteschool](https://forum.mautic.org/u/ceolteschool)
#### Post date: [May 29, 2023, 8:30am UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/32 "2023-05-29T08:30:58Z")

</div>

yeah

like mailwizz 79 usd one time.

I give up with this mautic. Today got 500 error again. enough. very unstable system.

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [May 29, 2023, 9:52am UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/33 "2023-05-29T09:52:37Z")

</div>

I’m a huge fan of Mailwizz, and user of the system. It has 5% of the features of Mautic. It’s not open source. Totally different use cases. You are comparing Apples with Supernovas.

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [May 29, 2023, 9:54am UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/34 "2023-05-29T09:54:03Z")

</div>

BTW - the 500 error happens 90% of the times, because you are not aware of how user management works in Linux. (Just a tip.)

---

<div class="post-metadata">

### Author: ![ceolteschool](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@ceolteschool](https://forum.mautic.org/u/ceolteschool)
#### Post date: [May 29, 2023, 11:12am UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/35 "2023-05-29T11:12:32Z")

</div>

I played different combinations of systems and releases. ever run everything from root. the last one worked 2 weeks and after thrown 500 error. It is not reliable. it can happen anytime and result in complete system reinstall with loss of all job. my business suffer from it.

I used mailwizz and do not agree that it is lack of functionality you use every day. I do not need another CRM instance. I need bulk mailer.

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [May 29, 2023, 11:24am UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/36 "2023-05-29T11:24:54Z")

</div>

Here is a guide to permissions:

> **[Full guide to permissions and cache in Mautic – Joey Keller](https://joeykeller.com/full-guide-to-permissions-and-cache-in-mautic/)**

Mautic is not a bulk mailer, If you need a bulk mailer, then you need Mailwizz. I coulndt agree more.

---

<div class="post-metadata">

### Author: ![peteredhair](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/peteredhair/32/7751_2.png) [@peteredhair](https://forum.mautic.org/u/peteredhair)
#### Post date: [June 14, 2023, 7:11am UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/37 "2023-06-14T07:11:59Z")

</div>

Just sharing my experience.  
I use a hosting provider and a hosting instance with cPanel.  
From there I install using softaculos auto installer option on cPanel, two clicks, a user and password for the Mautic admin, and that’s it.  
The problem is with the upgrades and composer.  
If you can figure out how to make that work on softaculus it would be great, otherwise I’ll have to go back to scratch annd install a new instance.  
If this could be as easy as softaculus upgrade, I’d, we’d be focusing on Mautic functionality only.

---

<div class="post-metadata">

### Author: ![IonutOjicaDe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ionutojicade/32/7383_2.png) [@IonutOjicaDe](https://forum.mautic.org/u/IonutOjicaDe)
#### Post date: [June 15, 2023, 8:35pm UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/38 "2023-06-15T20:35:04Z")

</div>

> [@peteredhair](#):
>
> I use a hosting provider and a hosting instance with cPanel.

From my experience, this sort of installation can work until 500 contacts. The first Limit will be the available RAM for the database.

I started also like this and tested. Until I found out the truth: [Mautic Installation: Mautic Hardware Requirements](https://mauteam.org/infrastructure/mautic-installation-mautic-hardware-requirements/)

---

<div class="post-metadata">

### Author: ![richardnl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/richardnl/32/11430_2.png) [@richardnl](https://forum.mautic.org/u/richardnl)
#### Post date: [June 20, 2023, 6:52pm UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/39 "2023-06-20T18:52:57Z")

</div>

Mautic is very easy to install if the managed hosting (like shared hosting) meets the system requirements. If the hosting does not fully meet the system requirements, you need advanced knowledge and a lot of time. If you use unmanaged hosting, you already need advanced knowledge. If you don’t have these knowledge, contact a professional for the installation or find managed hosting that supports Mautic.

---

<div class="post-metadata">

### Author: ![rushagencia](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rushagencia/32/13084_2.png) [@rushagencia](https://forum.mautic.org/u/rushagencia)
#### Post date: [July 24, 2023, 11:08pm UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/40 "2023-07-24T23:08:31Z")

</div>

Concordo!  
Estou tentando instalar no localhost com Xampp no Windows, mas recebo a seguinte mensagem:

_Forbidden_  
_You don’t have permission to access this resource._

Já dei permissão na pasta e subpastas, mas sem sucesso.  
Alguém sabe me dizer como proceder neste caso?

Obrigado!

---

<div class="post-metadata">

### Author: ![drold](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/drold/32/2400_2.png) [@drold](https://forum.mautic.org/u/drold)
#### Post date: [March 10, 2025, 10:45am UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/41 "2025-03-10T10:45:13Z")

</div>

I think I jumped onto a half way sinking ship with a hope and a dream. I’m such an idiot. All this for this

Is this like ‘snip hunting’ for new members of the tree house club?

how long will these fools imagine they can get open source email. LMAO. I’m an IDIOT!!!

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [March 11, 2025, 8:48am UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/42 "2025-03-11T08:48:06Z")

</div>

Hi,  
I’ll help you out gladly and answer all your questions in a Zoom call, it’s more productive. Any time this week. after 17:00 CET.  
Joey

---

<div class="post-metadata">

### Author: ![gem](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gem/32/12648_2.png) [@gem](https://forum.mautic.org/u/gem)
#### Post date: [March 18, 2025, 4:18pm UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/43 "2025-03-18T16:18:32Z")

</div>

I’ve put together a walkthrough to get Mautic 5 installed on a DigitalOcean droplet. The walkthrough is hosted on a landing page of the Mautic instance installed using the walkthrough. This should be replicable on any VM or machine running Ubuntu 22. It doesn’t have to be a DigitalOcean droplet. My production instances of Mautic are running in Proxmox virtual machines on a dedicated server.

> **[Installing Mautic ^5 on DigitalOcean Droplet](https://mautic.party/installing-mautic-5-on-digitalocean-droplet)**

It doesn’t cover adding a mailer and installing cron jobs though. I can add these if necessary.

---

<div class="post-metadata">

### Author: ![mattselz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mattselz/32/13813_2.png) [@mattselz](https://forum.mautic.org/u/mattselz)
#### Post date: [March 26, 2025, 6:46pm UTC](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572/44 "2025-03-26T18:46:34Z")

</div>

I gave this a shot, but I’m running into the following error message:

```auto
Root composer.json requires mautic/core-lib 5.2.4 -> satisfiable by mautic/core-lib[5.2.4].
    - mautic/core-lib 5.2.4 requires symfony/framework-bundle ~5.4.47 -> satisfiable by symfony/framework-bundle[5.4.x-dev].
    - symfony/framework-bundle[v5.4.45, ..., 5.4.x-dev] require ext-xml * -> it is missing from your system. Install or enable PHP's xml extension.

```

I’ve confirmed that ext-xml is installed and I’ve restarted apache2.

Something is amiss… but what?

[Previous page](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572.md?page=1)

[Next page](https://forum.mautic.org/t/why-is-mautic-so-difficult-to-install/15572.md?page=3)
