Matomo INFILE usage with MySQL8 and PHP8

It looks tricky to cheat matomo INFILE usage when you use PHP8 and MySQL8.

My quick hints are:

  1. Did you have put in my.cnf file:
secure-file-priv                = /<your-path>/matomo/tmp/assets/

2. Do you have in php-fpm.conf file line like:

php_admin_value[mysqli.allow_local_infile] = 1
Share with Me via Nextcloud