# New installation with composer: web installer not found

**URL:** <https://forum.mautic.org/t/new-installation-with-composer-web-installer-not-found/33048>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [August 7, 2024, 1:59pm UTC](https://forum.mautic.org/t/new-installation-with-composer-web-installer-not-found/33048 "2024-08-07T13:59:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![perissf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/perissf/32/12942_2.png) [@perissf](https://forum.mautic.org/u/perissf)\
**Post date:** [August 7, 2024, 1:59pm UTC](https://forum.mautic.org/t/new-installation-with-composer-web-installer-not-found/33048/1 "2024-08-07T13:59:21Z")

</div>

My Mautic version is: 5.10  
My PHP version is: 8.2.20  
My Database type and version is: 10.11.6-MariaDB-0+deb12u1

With Composer installed, I installed Mautic by running `composer install` from the folder where I extracted the installation files.

I setup Apache virtual server and ssl certificate.

When opening the web page with a browser, I am redirected to `/installer` url and get a 404 URL not found.

Apache logs:

> {my\_ip\_address} - - [07/Aug/2024:15:25:04 +0200] “GET /favicon.ico HTTP/1.1” 200 13253 “https://{my\_domain}/installer” “Mozilla/5.0 (X11; Ubuntu; Linux x86\_64; rv:129.0) Gecko/20100101 Firefox/129.0”  
> {my\_ip\_address} - - [07/Aug/2024:15:26:42 +0200] “GET / HTTP/1.1” 404 893 “-” “Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36”  
> {my\_ip\_address} - - [07/Aug/2024:15:27:02 +0200] “-” 408 323 “-” “-”  
> {my\_ip\_address} - - [07/Aug/2024:15:38:15 +0200] “GET / HTTP/1.1” 302 3633 “-” “Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36”  
> {my\_ip\_address} - - [07/Aug/2024:15:38:15 +0200] “GET /installer HTTP/1.1” 404 3490 “-” “Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36”  
> {my\_ip\_address} - - [07/Aug/2024:15:43:32 +0200] “GET /installer HTTP/1.1” 404 3491 “-” “Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36”  
> {my\_ip\_address} - - [07/Aug/2024:15:43:36 +0200] “GET / HTTP/1.1” 302 714 “-” “Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36”  
> {my\_ip\_address} - - [07/Aug/2024:15:43:36 +0200] “GET /installer HTTP/1.1” 404 3490 “-” “Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36”  
> {my\_ip\_address} - - [07/Aug/2024:15:43:36 +0200] “GET / HTTP/1.1” 302 714 “-” “Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36”  
> {my\_ip\_address} - - [07/Aug/2024:15:43:36 +0200] “GET /installer HTTP/1.1” 404 893 “-” “Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36”

---

<div class="post-metadata">

**Author:** ![perissf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/perissf/32/12942_2.png) [@perissf](https://forum.mautic.org/u/perissf)\
**Post date:** [October 4, 2024, 3:04pm UTC](https://forum.mautic.org/t/new-installation-with-composer-web-installer-not-found/33048/2 "2024-10-04T15:04:44Z")

</div>

Hi can I get help on this topic? I described the installation steps using Composer, which seems to be one of the recommended installation paths. The description above was for 5.1.0 , and for 5.1.1. I have the same problem. Maybe should I add more details? Or am I completely off and should follow another installation path? Ideally I would like to have a production version. Thanks

---

<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:** [October 4, 2024, 3:44pm UTC](https://forum.mautic.org/t/new-installation-with-composer-web-installer-not-found/33048/3 "2024-10-04T15:44:21Z")

</div>

Hi, do you have a .htaccess file in place?  
Is your path set properly in apache?

---

<div class="post-metadata">

**Author:** ![perissf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/perissf/32/12942_2.png) [@perissf](https://forum.mautic.org/u/perissf)\
**Post date:** [October 4, 2024, 3:52pm UTC](https://forum.mautic.org/t/new-installation-with-composer-web-installer-not-found/33048/4 "2024-10-04T15:52:53Z")

</div>

> Hi, do you have a .htaccess file in place?

No, should I?

> Is your path set properly in apache?

If you mean adding `docroot` to the DocumentRoot directive in apache Virtual Host configuration, I just learned it from another tutorial. Maybe it’s worth to mention it in the official tutorials / setup instructions - btw with this, now the web installation works!

---

<div class="post-metadata">

**Author:** ![perissf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/perissf/32/12942_2.png) [@perissf](https://forum.mautic.org/u/perissf)\
**Post date:** [October 4, 2024, 4:59pm UTC](https://forum.mautic.org/t/new-installation-with-composer-web-installer-not-found/33048/5 "2024-10-04T16:59:32Z")

</div>

By the way, if I follow the installation instructions available [here](https://github.com/mautic/mautic), there _is no_ `docroot` subfolder, and I still can’t open the web installer.

If I follow [these instructions](https://joeykeller.com/mautic-5-composer-install-simplified/) instead, there _is_ a `docroot` subfolder and I need to add it to the apache VH configuration. If I do so, the installation works, but then the `/s/dashboard` path is not accessible.

In both cases I don’t have a `.htaccess` file in place, and the VH configuration is:

```
<Directory /var/www/hmtl/mautic/> // or /var/www/hmtl/mautic/docroot/
  Options FollowSymLinks MultiViews
  AllowOverride All
  Order allow,deny
  allow from all
</Directory>
RewriteEngine on

```
