Issue with Matomo installation

Hi all,

I’m new to Matomo and I’ve run into an issue during installation. I can see the Matomo root directory on my server (in the browser), but when I navigate to index.php, I see this:

Matomo couldn’t write to some directories (running as user ‘apache’) .

Try to Execute the following commands on your server, to allow Write access on these directories:

chown -R apache:apache /var/www/html/matomo
find /var/www/html/matomo/tmp -type f -exec chmod 644 {} \;
find /var/www/html/matomo/tmp -type d -exec chmod 755 {} \;
find /var/www/html/matomo/tmp/assets -type f -exec chmod 644 {} \;
find /var/www/html/matomo/tmp/assets -type d -exec chmod 755 {} \;
find /var/www/html/matomo/tmp/cache -type f -exec chmod 644 {} \;
find /var/www/html/matomo/tmp/cache -type d -exec chmod 755 {} \;
find /var/www/html/matomo/tmp/logs -type f -exec chmod 644 {} \;
find /var/www/html/matomo/tmp/logs -type d -exec chmod 755 {} \;
find /var/www/html/matomo/tmp/tcpdf -type f -exec chmod 644 {} \;
find /var/www/html/matomo/tmp/tcpdf -type d -exec chmod 755 {} \;
find /var/www/html/matomo/tmp/templates_c -type f -exec chmod 644 {} \;
find /var/www/html/matomo/tmp/templates_c -type d -exec chmod 755 {} \;

If this doesn’t work, you can try to create the directories with your FTP software, and set the CHMOD to 0755 (or 0777 if 0755 is not enough). To do so with your FTP software, right click on the directories then click permissions.

I ran the commands as suggested, and also changed the permissions manually via my FTP client. Still not working. Any ideas as to what the issue could be?