# Problem installing mautic 5 new installation

**URL:** <https://forum.mautic.org/t/problem-installing-mautic-5-new-installation/30514>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [January 16, 2024, 8:19am UTC](https://forum.mautic.org/t/problem-installing-mautic-5-new-installation/30514 "2024-01-16T08:19:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtnlvy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mtnlvy/32/6490_2.png) [@mtnlvy](https://forum.mautic.org/u/mtnlvy)\
**Post date:** [January 16, 2024, 8:19am UTC](https://forum.mautic.org/t/problem-installing-mautic-5-new-installation/30514/1 "2024-01-16T08:19:31Z")

</div>

**Your software**  
My Mautic version is: 5.0  
My PHP version is: 8.0  
My Database type and version is: mysQl 5.7

**Your problem**  
My problem is:  
just go to install new mautic 5.0 ehen go to the installer path  
[https://bkalut.co.il/mail5/installer](https://bkalut.co.il/mail5/installer)  
got this error  
The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.  
i have mautic 4.4 installed on my server ok.  
These errors are showing in the log:  
no log file  
Steps I have tried to fix the problem:  
i’v no idea what to do file permisssions is ok

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 16, 2024, 10:01am UTC](https://forum.mautic.org/t/problem-installing-mautic-5-new-installation/30514/2 "2024-01-16T10:01:40Z")

</div>

Hi there,

Please check the var/logs folder for the error logs, without that we can’t really help troubleshoot at all.

You might also check the Apache/NGINX logs also.

---

<div class="post-metadata">

**Author:** ![mtnlvy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mtnlvy/32/6490_2.png) [@mtnlvy](https://forum.mautic.org/u/mtnlvy)\
**Post date:** [January 16, 2024, 10:32am UTC](https://forum.mautic.org/t/problem-installing-mautic-5-new-installation/30514/3 "2024-01-16T10:32:51Z")

</div>

There is no file in val/logs folder. Mautic 4.4 is working fine in my server.

---

<div class="post-metadata">

**Author:** ![peter\_k](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/peter_k/32/511_2.png) [@peter\_k](https://forum.mautic.org/u/peter_k)\
**Post date:** [January 16, 2024, 11:21am UTC](https://forum.mautic.org/t/problem-installing-mautic-5-new-installation/30514/4 "2024-01-16T11:21:02Z")

</div>

Without any logs no one can provide any help.

- Check logs in MTCDIR/docroot/var
- Check logs in MTCDIR/var
- Check apache/nginx logs
- Check php logs (check your php.ini to find them and ensure that they are acutally produced)
- Set `APP_DEBUG=1` in your `.env`

Besides that, two classics:

- Check your PHP Version M5 needs 8.x
- Check file access permissions.

---

<div class="post-metadata">

**Author:** ![pingvin81](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pingvin81/32/10802_2.png) [@pingvin81](https://forum.mautic.org/u/pingvin81)\
**Post date:** [January 16, 2024, 2:35pm UTC](https://forum.mautic.org/t/problem-installing-mautic-5-new-installation/30514/5 "2024-01-16T14:35:42Z")

</div>

Do you have node installed? This cause the problem for me once.

---

<div class="post-metadata">

**Author:** ![mtnlvy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mtnlvy/32/6490_2.png) [@mtnlvy](https://forum.mautic.org/u/mtnlvy)\
**Post date:** [January 16, 2024, 2:45pm UTC](https://forum.mautic.org/t/problem-installing-mautic-5-new-installation/30514/6 "2024-01-16T14:45:05Z")

</div>

what do you mean MTCDIR?  
in mautic var/log there is no log file  
php version is 8.0  
what do you mean \* Set `APP_DEBUG=1` in your `.env`?  
in apache log there is no relevant log

---

<div class="post-metadata">

**Author:** ![peter\_k](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/peter_k/32/511_2.png) [@peter\_k](https://forum.mautic.org/u/peter_k)\
**Post date:** [January 16, 2024, 2:59pm UTC](https://forum.mautic.org/t/problem-installing-mautic-5-new-installation/30514/7 "2024-01-16T14:59:25Z")

</div>

> [@mtnlvy](#):
>
> MTCDIR

This is a placeholder for the directory you installed mautic to.

> [@mtnlvy](#):
>
> what do you mean \* Set `APP_DEBUG=1` in your `.env`?

Open your .env file in your root mautic folder and change the value for `APP_DEBUG` from `0` to `1`.

---

<div class="post-metadata">

**Author:** ![mtnlvy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mtnlvy/32/6490_2.png) [@mtnlvy](https://forum.mautic.org/u/mtnlvy)\
**Post date:** [January 16, 2024, 8:22pm UTC](https://forum.mautic.org/t/problem-installing-mautic-5-new-installation/30514/8 "2024-01-16T20:22:48Z")

</div>

thank you.  
i check there is no relevant log bnot php log not apache log and also there is no log file in mautic log.  
i use php 8.0  
it is a clean instalation files as taken from mautic i just go to install and it is not eorking . i have matic 4.4 working on same serve work fine.  
i change .env file for debuging mode - nothing changed  
here is the lin to installation that not work

> **[Mautic](https://bkalut.co.il/mail5/s/dashboard)**

jope anyone have any idea what to do.  
file permissions is ok  
i dont have node installed  
before i begun installing ther was error of permisions i solve this problem by deleting

# Deny access via HTTP requests to all PHP files.

```
<FilesMatch "\.php$">
   Require all denied
 </FilesMatch>

```

in .htaccess file  
but than the other problem occur

---

<div class="post-metadata">

**Author:** ![peter\_k](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/peter_k/32/511_2.png) [@peter\_k](https://forum.mautic.org/u/peter_k)\
**Post date:** [January 17, 2024, 4:26pm UTC](https://forum.mautic.org/t/problem-installing-mautic-5-new-installation/30514/9 "2024-01-17T16:26:40Z")

</div>

I’m very sorry, but the way you write is hard to read and confusing.

Additionally, you don’t provide enough information to assist you further. At least for me, it is not possible to help you here.
