• Resolved fdelia1921

    (@fdelia1921)


    Hi,
    We have installed Matomo for WordPress in our site, but it doesn’t work.
    We have the following problem: “Your PHP cli version is not compatible with the Matomo requirements. Please upgrade your PHP cli version, otherwise, you might have some archiving errors.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.”

    We have updated the php version and we have also verified the correct enabling of the MySQLi extension.
    Unfortunately the problem persists.
    How can we fix?

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

    (@emermatomo)

    Hi @fdelia1921

    You have several options to fix this problem:

    • 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); }
    Plugin Support emermatomo

    (@emermatomo)

    Hi @fdelia1921 . Have you had a chance to look at my previous comment or maybe any question around this?

    Plugin Support emermatomo

    (@emermatomo)

    Hi?@fdelia1921 ?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 ‘MATOMO WORDPRESS PROBLEM’ is closed to new replies.