# 403 Forbidden

**URL:** <https://forum.mautic.org/t/403-forbidden/33000>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [August 4, 2024, 5:42am UTC](https://forum.mautic.org/t/403-forbidden/33000 "2024-08-04T05:42:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gandolfslayer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gandolfslayer/32/12434_2.png) [@gandolfslayer](https://forum.mautic.org/u/gandolfslayer)\
**Post date:** [August 4, 2024, 5:42am UTC](https://forum.mautic.org/t/403-forbidden/33000/1 "2024-08-04T05:42:02Z")

</div>

**Your software**  
My Mautic version is: 5.1  
My PHP version is: 8.1  
My Database type and version is: softaculous

**Your problem**  
My problem is: i am trying to download a fresh install using softalucous. However I keep getting a 403 forbidden page. When I comment out the apache line  
  
# Deny access via HTTP requests to all PHP files.  
\<FilesMatch “.php$”\>  
# Comment the following line to avoid 403 error  
#Require all denied  
  
and made changes to

# Except those allowed below.

```
<If "%{REQUEST_URI} =~ m#^/emails/(index|index_dev|upgrade/upgrade)\.php#">
    Require all granted
</If>

```

These errors are showing in the log: The “app/bundles/CoreBundle/Resources/views/Offline” directory does not exist (“/opt/cpanel/ea-php81/root/usr/bin/app/bundles/CoreBundle/Resources/views/Offline”)

Steps I have tried to fix the problem:

---

<div class="post-metadata">

**Author:** ![marcus42](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@marcus42](https://forum.mautic.org/u/marcus42)\
**Post date:** [August 4, 2024, 2:12pm UTC](https://forum.mautic.org/t/403-forbidden/33000/2 "2024-08-04T14:12:38Z")

</div>

The 403 error is most likely coming from your htaccess (the “\<FilesMatch “.php$”\>” bit that you commented out should get around your issue - but will open a security hole)

Your last problem sounds like a memory problem (up your PHP memory to something like 512MB or even 1024MB)
