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
I am new to Mautic and Composer. Trying to install Mautic 5.10 (new installation) with Composer and serving it on an existing Apache2 installation in Debian 12 server. I installed Composer globally. Then created mautic
folder under /var/www/html
and set ownership to www-data:www-data
user. I extracted the installation files there and run composer update
from the folder.
This is causing permission denied errors, because the logged-in user doesn’t have the permissions to write in that folder, and the use of sudo with composer is discouraged. However I don’t want to give more permissions to the folder, hence I am bit lost on how to proceed.