• Resolved ladyregina

    (@ladyregina)


    Hello! I tried to install this app on my site and I got two errors:

    PHP cli Version: Your PHP cli version is not compatible with the Matomo requirements. Please upgrade your PHP cli version, otherwise, you might have some archiving errors

    and

    MySQLi supportmissing: Your PHP cli does not load the MySQLi extension. You might have archiving problems in Matomo but also others problems in your WordPress cron tasks. You should enable this extension

    I am not tech savvy in the least, and I’d super appreciate some help on how to get the plugin up and running 🙂 Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support emermatomo

    (@emermatomo)

    Hello @ladyregina You have several options to fix this problem:

    • Ask your hosting provider to load this file from the PHP Cli I emailed you the path. This is only possible if you are in a dedicated hosting.
    • Modify the Matomo configuration to force usage of the /usr/bin/php file:
      – To do so, edit the ./wp-content/uploads/matomo/config/config.ini.php: you’ll have in it a [general] category
      – Under this category, please add the following line:
      php_binary_path="/usr/bin/php"
      – Save the edited file
      – Then flush the Matomo cache from the “Matomo Analytics > Diagnostics > Troubleshooting” menu
    • Disable the async mode by editing your wp-config.php file:
      – Either by enabling the WP_DEBUG mode: if (!defined('WP_DEBUG')) {define('WP_DEBUG", true);}
      – Or by forcing the the async mode by adding: if (!defined('MATOMO_SUPPORT_ASYNC_ARCHIVING')) { define('MATOMO_SUPPORT_ASYNC_ARCHIVING', false); }

    I hope those 3 options will fix the issue. Please let us know how it goes.

    • This reply was modified 3 years ago by emermatomo. Reason: For better reading
    Plugin Support emermatomo

    (@emermatomo)

    Hi @ladyregina I just want to check if you’ve seen our last comment or maybe any question about it?

    Plugin Support emermatomo

    (@emermatomo)

    Hi @ladyregina As we didn’t receive a response after 1 week, we’re marking this issue as resolved. If something is not working, feel free to leave a comment and we’d be happy to assist.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fixing Errors’ is closed to new replies.