# Mautic on Ubuntu Apache Server

**URL:** <https://forum.mautic.org/t/mautic-on-ubuntu-apache-server/30714>\
**Category:** Product Support\
**Created:** [January 30, 2024, 1:18am UTC](https://forum.mautic.org/t/mautic-on-ubuntu-apache-server/30714 "2024-01-30T01:18:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![webprosagency](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/webprosagency/32/1267_2.png) [@webprosagency](https://forum.mautic.org/u/webprosagency)\
**Post date:** [January 30, 2024, 1:18am UTC](https://forum.mautic.org/t/mautic-on-ubuntu-apache-server/30714/1 "2024-01-30T01:18:31Z")

</div>

**Your software**  
My Mautic version is: 5.0.2  
My PHP version is: php8  
My Database type and version is: SQL-Mariadb - Ubuntu 22.04

**Your problem**  
I have followed instructions on installing Mautic on Ubuntu Apache and I’m at the point of loading the website url /installer and I get a white screen, nothing on it, I see in the URL bar the Mautic logo but nothing loads. I’m new at this VPS server thing so I would appreciate some help and guidance please.

These errors are showing in the log:

[Tue Jan 30 00:08:22.619131 2024] [proxy\_fcgi:error] [pid 19371:tid 140485763003968] [client 142.117.183.172:65500] AH01071: Got error ‘PHP message: PHP Warning: require(/var/www/mautic/app/…/autoload.php): Failed to open stream:  
No such file or directory in /var/www/mautic/app/config/bootstrap.php on line 5PHP message: PHP Fatal error: Uncaught Error: Failed opening required ‘/var/www/mautic/app/…/autoload.php’ (include\_path=’.:/usr/share/php’) in /var/www/mautic/app/config/bootstrap.php:5\nStack trace:\n#0 /var/www/mautic/index.php(9): require()\n#1 {main}\n thrown in /var/www/mautic/app/config/bootstrap.php on line 5’

Thanks

Steps I have tried to fix the problem: I have removed and re-installed Mautic with no luck,

---

<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:** [January 30, 2024, 9:30am UTC](https://forum.mautic.org/t/mautic-on-ubuntu-apache-server/30714/2 "2024-01-30T09:30:00Z")

</div>

Is this a clean VPS or you have Cpanel and maybe a Wordpress on it?

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [January 30, 2024, 10:00am UTC](https://forum.mautic.org/t/mautic-on-ubuntu-apache-server/30714/3 "2024-01-30T10:00:19Z")

</div>

Based on message you posted PHP dependencies are not installed or path to web root is not correct.

---

<div class="post-metadata">

**Author:** ![webprosagency](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/webprosagency/32/1267_2.png) [@webprosagency](https://forum.mautic.org/u/webprosagency)\
**Post date:** [January 30, 2024, 2:59pm UTC](https://forum.mautic.org/t/mautic-on-ubuntu-apache-server/30714/4 "2024-01-30T14:59:45Z")

</div>

Hi it’s a clean VPS brand new account

---

<div class="post-metadata">

**Author:** ![webprosagency](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/webprosagency/32/1267_2.png) [@webprosagency](https://forum.mautic.org/u/webprosagency)\
**Post date:** [January 30, 2024, 3:31pm UTC](https://forum.mautic.org/t/mautic-on-ubuntu-apache-server/30714/5 "2024-01-30T15:31:45Z")

</div>

> [@mzagmajster](#):
>
> PHP dependencies

I re-installed php depencies using this command:

```auto
sudo apt install software-properties-common ca-certificates lsb-release apt-transport-https 

```

Also upgraded to php8.1

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [January 30, 2024, 3:47pm UTC](https://forum.mautic.org/t/mautic-on-ubuntu-apache-server/30714/6 "2024-01-30T15:47:21Z")

</div>

Dependencies of Mautic project located in composer.json. You will also need to install some PHP extensions.

that usually get installed in: /vendor

It sounds like it might be helpful for you to delegate setup of Mautic to someone who is more comftable with technical side of things.

Drop me a DM, if you are interested.

---

<div class="post-metadata">

**Author:** ![webprosagency](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/webprosagency/32/1267_2.png) [@webprosagency](https://forum.mautic.org/u/webprosagency)\
**Post date:** [January 30, 2024, 4:03pm UTC](https://forum.mautic.org/t/mautic-on-ubuntu-apache-server/30714/7 "2024-01-30T16:03:18Z")

</div>

Hi thanks for the help, I finally got it to work by using these instructions:

> **[Secure Mautic Installation on a VPS in 2024 | Mauteam.org](https://mauteam.org/mautic/mautic-admins/securing-your-mautic-installation/)**
>
> This is a basic but production-ready Mautic installation tutorial, that you can run in a SMALL production environment.

Now my next challenge is to find a way to send SMS text messages to admins (agents) with the full content of a web form (example for real estate agents, once they receive a lead from that form, all content needs to be sent via SMS). In the past I had someone programmed a script that added an option in the form action right below the email option he added an option send SMS and all I had to do is enter the agent mobile number and it worked like a charm, unfortunately when upgrading to newer version I lost everything. On my previous shared hosting installation last week, I had managed to create a script with ChatGPT through a webhook option in campaign automation and after testing it, I could see in the contact events that the SMS was sent but I never received it. I also had an option in automation to send an SMS to contact also showing in events that it was 100% sent but again I never received the SMS. My shared hosting company told me that I could not use SMS Api and Twilio on shared hosting, not sure why as a few years back I was on shared hosting and it worked perfectly.

That is the reason that I went with the VPS option, so now back to square one, it’s finally installed, I will setup Twilio and run some test and keep you guys posted.

Thanks for all the help  
John
