Mautic Community Forums

Cannot install mautic

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 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



    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.

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 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

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.

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

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/

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

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

https://outergain.com/install-mautic-in-a-sub-folder-on-nginx/