Title: MATOMO WORDPRESS PROBLEM
Last modified: May 23, 2023

---

# MATOMO WORDPRESS PROBLEM

 *  Resolved [fdelia1921](https://wordpress.org/support/users/fdelia1921/)
 * (@fdelia1921)
 * [3 years ago](https://wordpress.org/support/topic/matomo-wordpress-problem/)
 * 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](https://wordpress.org/support/users/emermatomo/)
 * (@emermatomo)
 * [3 years ago](https://wordpress.org/support/topic/matomo-wordpress-problem/#post-16763004)
 * Hi [@fdelia1921](https://wordpress.org/support/users/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](https://wordpress.org/support/users/emermatomo/)
 * (@emermatomo)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/matomo-wordpress-problem/#post-16781473)
 * Hi [@fdelia1921](https://wordpress.org/support/users/fdelia1921/) . Have you 
   had a chance to look at my previous comment or maybe any question around this?
 *  Plugin Support [emermatomo](https://wordpress.org/support/users/emermatomo/)
 * (@emermatomo)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/matomo-wordpress-problem/#post-16796454)
 * 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.

 * ![](https://ps.w.org/matomo/assets/icon-256x256.png?rev=3531741)
 * [Matomo Analytics - Powerful, Privacy-First Insights for WordPress](https://wordpress.org/plugins/matomo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/matomo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/matomo/)
 * [Active Topics](https://wordpress.org/support/plugin/matomo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/matomo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/matomo/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [emermatomo](https://wordpress.org/support/users/emermatomo/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/matomo-wordpress-problem/#post-16796454)
 * Status: resolved