# Cannot install mautic

**URL:** <https://forum.mautic.org/t/cannot-install-mautic/9261>\
**Category:** Product Support\
**Created:** [August 18, 2017, 6:33pm UTC](https://forum.mautic.org/t/cannot-install-mautic/9261 "2017-08-18T18:33:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![courtneyk](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@courtneyk](https://forum.mautic.org/u/courtneyk)\
**Post date:** [August 18, 2017, 6:33pm UTC](https://forum.mautic.org/t/cannot-install-mautic/9261/1 "2017-08-18T18:33:46Z")

</div>

I am unable to install mautic software on my site. I tried to upload the .zip file to my public\_html folder but when I try to access my [domain.com/mautic](http://domain.com/mautic) I get the following error:  
  
  
  
Warning: require(/home/example/public\_html/mautic/app/…/vendor/symfony/class-loader/ApcClassLoader.php): failed to open stream: Permission denied in /home/example/public\_html/mautic/app/bootstrap.php.cache on line 1344  
  
  
  
Fatal error: require(): Failed opening required ‘/home/example/public\_html/mautic/app/…/vendor/symfony/class-loader/ApcClassLoader.php’ (include\_path=’.:/opt/php56/lib/php’) in /home/example/public\_html/mautic/app/bootstrap.php.cache on line 1344  
  
  
  
Here are the steps I followed to install the software:

1. Create MySQL Database example\_mautic  
2. Create MySQL Database user example\_mautic  
3. Connect user to database  
4. Create folder in public\_html “mautic”  
5. Upload mautic software file “2.9.2”  
6. Extract files  
7. Change permissions for logs to 7-5-5 (located in public\_html/mautic/app)  
8. Try to access mautic installation panel at [domain.com/mautic](http://domain.com/mautic)  
  
  
  
I have searched high and low for a solution to the problem but cannot find anything.  
  
  
  
Thanks in advance for any information that can be provided.

---

<div class="post-metadata">

**Author:** ![courtneyk](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@courtneyk](https://forum.mautic.org/u/courtneyk)\
**Post date:** [August 18, 2017, 6:33pm UTC](https://forum.mautic.org/t/cannot-install-mautic/9261/2 "2017-08-18T18:33:46Z")

</div>

I am unable to install mautic software on my site. I tried to upload the .zip file to my public\_html folder but when I try to access my [domain.com/mautic](http://domain.com/mautic) I get the following error:

Warning: require(/home/example/public\_html/mautic/app/…/vendor/symfony/class-loader/ApcClassLoader.php): failed to open stream: Permission denied in /home/example/public\_html/mautic/app/bootstrap.php.cache on line 1344

Fatal error: require(): Failed opening required ‘/home/example/public\_html/mautic/app/…/vendor/symfony/class-loader/ApcClassLoader.php’ (include\_path=’.:/opt/php56/lib/php’) in /home/example/public\_html/mautic/app/bootstrap.php.cache on line 1344

Here are the steps I followed to install the software:

1. Create MySQL Database example\_mautic
2. Create MySQL Database user example\_mautic
3. Connect user to database
4. Create folder in public\_html “mautic”
5. Upload mautic software file “2.9.2”
6. Extract files
7. Change permissions for logs to 7-5-5 (located in public\_html/mautic/app)
8. Try to access mautic installation panel at [domain.com/mautic](http://domain.com/mautic)

I have searched high and low for a solution to the problem but cannot find anything.

Thanks in advance for any information that can be provided.

---

<div class="post-metadata">

**Author:** ![theatereleven](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@theatereleven](https://forum.mautic.org/u/theatereleven)\
**Post date:** [August 19, 2017, 8:10pm UTC](https://forum.mautic.org/t/cannot-install-mautic/9261/3 "2017-08-19T20:10:22Z")

</div>

You may need to give www-data ownership to the new mautic folder and sub folders:

```auto
chown -R www-data:www-data /var/www/domain.com/mautic/
```

I’ve documented detailed steps I use for installing:

[https://outergain.com/install-mautic-in-a-sub-folder-on-nginx/](http://example.com)

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [August 20, 2017, 11:28pm UTC](https://forum.mautic.org/t/cannot-install-mautic/9261/4 "2017-08-20T23:28:57Z")

</div>

Link is not working theatereleven…  
[https://outergain.com/install-mautic-in-a-sub-folder-on-nginx/](https://outergain.com/install-mautic-in-a-sub-folder-on-nginx/)

---

<div class="post-metadata">

**Author:** ![theatereleven](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@theatereleven](https://forum.mautic.org/u/theatereleven)\
**Post date:** [August 21, 2017, 7:15am UTC](https://forum.mautic.org/t/cannot-install-mautic/9261/5 "2017-08-21T07:15:40Z")

</div>

Hey @yosa - maybe I typed it wrong. This link works for me:

[https://outergain.com/install-mautic-in-a-sub-folder-on-nginx/](https://outergain.com/install-mautic-in-a-sub-folder-on-nginx/)
