Install Mautic on Linux (AWS)

Simple steps to install Mautic on Linux (AWS)

Introduction about Mautic :

Mautic is marketing automation software (email, social & more), competing with the likes of HubSpot, Pardot and Silverpop. Many of those commercial products are hosted (so you can’t modify them easily) and extraordinarily expensive but Mautic is OpenSource publicly available under GPL (General Public Licensing)

Some main features of Mautic :

  • Social Media Marketing

  • Lead Management

  • Email Marketing

  • Forms

  • Campaigns

For more visit

 Install mautic on linux (AWS) 

Pre-requisite :

  • PHP
    • Install latest PHP version if already installed, make sure PHP version > 5.3.
      • Command to install php :

$sudo yum install php56-common php56-gd  php56-mbstring php56-mcrypt php56-mysqlnd php56-imap php56-intl

Note : Make sure to install all the php package extensions such as php56-mbstring, php56-mcrypt, php56-mysqlnd, php56-imap, php56-intl.

  • Apache server
    •  Command to install $ sudo yum install httpd
  • MySQL-server
    • Command to install $sudo yum install mysql

Step 1 : Download Mautic setup

It can be done in two ways manually downloading setup via or by using wget command.


Step 2 : Unzip setup file :

$unzip /var/www/html/mautic

Note :  Make sure you extract the setup to /var/www/html directory

Step 3 : Chown all the files and directories of mautic directory in /var/www/html :

Change ownership of files and directory to apache user  by default it would be root.

You can check ownership using command $ls -l :

It should look like this.

Command to change ownership from root to apache user :

$ sudo chown -R apache:apache /var/www/html/mautic

Step 4 : Point browser to mautic directory

Make sure apache server is running first : $ sudo service httpd status

If you’re using localhost then point browser to http://localhost:80/mautic  or else while installing it on AWS instance then point your browser to instances’ elastic ip  for eg :

Note: As reported by many viewers you might will have to explicitly point URL to http://localhost:80/mautic/index.php . The reason for that is httpd donot have by default configs to render a file .php extension.

 Types of error you might face and their solutions :

Currently offline error :

Problem with permissions or ownership

If you receive such page when you point browser to the above link. Please check you have changed ownership of file and directory of mautic properly as mentioned above.


Problem with PHP version or extensions :

Problem with PHP version or extension

If you receive an error regarding PHP version then you have to make sure you have right supported version installed on your system.

If you’re getting so recommendation regarding extension then just install all the extension for eg : sudo yum install php56-mbstring php56-imap php56-intl

These are not critical errors but it might affection application functioning. Once that is done you should be good to proceed with futher steps.

You can ignore this recommendations and proceed futher

Step 5 : Step database


Enter the details of MySQL database such as host, username, port, password and proceed futher by create a database for mautic.

If any error faced at this stage you might want to look at MySQL database and check if its running.

Step 6 :  Creating Admin user

Create admin user page

Step 7 : Configure Email

You can select preferred email service. By default leave it to PHP mail


Step 8 : Login into dashboard

Now login with username and password of admin which will redirect to Mautic dashboard.

Mautic Dashboard


That’s it! You have successfully installed and configured Mautic.

Any queries or issues feel free to comment below will try to revert back as soon as I can.

Thank you for your time! 🙂

  • شركة رش مبيدات بالرياض

    You really make it appear so easy with your presentation but I in finding this topic to be really something which I think
    I might by no means understand. It kind of feels too complex
    and very huge for me. I’m looking forward to your subsequent
    put up, I will try to get the cling of it!

    • First of thanks for showing interest! Well this implementations are for IT industry pros, most of content focuses on Cloud aspect. I will be putting up few posts which you might find less complex in near future. Till then you can subscribe to my blog. 🙂

  • شركة تنظيف موكيت بجدة

    Thank you for the good writeup. It in fact was a amusement
    account it. Look advanced to far added agreeable from you!
    However, how could we communicate?

    • thank you! You can drop your contact info in contact page. I’ll get in touch with you.

  • nba 2k16 mt for sale

    Thanks for the purpose of giving these types of superior content.

  • Great web site. Lots of helpful information here.

    I am sending it to several friends ans additionally sharing in delicious.
    And certainly, thank you to your effort!

  • dedicated servers

    You could definitely see your expertise in the
    work you write. The sector hopes for even more passionate writers such as you who are not afraid to say
    how they believe. Always follow your heart.

  • walmart credit cards login page

    I am in fact grateful to the holder of this web site who has shared this great post at at this time.

  • Hi Bhargav, thanks for the wonderful info. It helped me getting used to aws, install apache and my son etc. However, your unzip command I s not working because it tells that file or name mautic is not there. I have downloaded mautic through putty.

    So instead I unzipped using command
    Unzip the command worked and unzipped. But don’t know what o do next.. Can you suggest?

    Will be of great help.. Thanks

    • Hey @mehul
      The problem you have faced is because you haven’t created a directory named “mautic” in /var/www/html.
      Since you have already extracted the file, your next step will be to copy the directory to /var/www/html location.
      You can do that using command "sudo cp -R 1.2.4 /var/www/html
      Once you have done that, rename the directory name to “mautic” and then continue from Step 3.

      Let me know if further help required!

  • Hi Bhargav, I tried to install mautic. i have extracted the zip to /var/www/html/mautic. I can see the directory listing when i go http://elastic IP/mautic.
    How do we proceed further from Step 5 onwards for sql database configuration. Dont we have to create databases in SQL.

    • Hi, thankyou for reaching out!
      By default httpd is not configured to render files with .php extentions.
      Hence you can point the URL to http:///mautic/index.php
      Let me know if you still have issues.