Title: PHP CLI Version non resolved
Last modified: June 13, 2023

---

# PHP CLI Version non resolved

 *  Resolved [hadriencab](https://wordpress.org/support/users/hadriencab/)
 * (@hadriencab)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-cli-version-non-resolved/)
 * Hello,
 * I’m trying to install Matomo on my website but I’m having big troubles to make
   it work properly.
   It works fine on pre-production website but doesn’t work on
   production (same config though).At first I encountered a blank page when activating
   the plugin and a 500 error while accessing my WordPress admin.After disabling
   multisite (PHP Error) on the matomo plugin and enabling matomo safe mode, I could
   finally see the dashboard.But the diagnostics page shows the common error with“
   PHP CLI Version”.I tried the [solution given on several topics](https://github.com/matomo-org/matomo-for-wordpress/issues/647#issuecomment-1409284712)
   but it doesn’t work.
 * Any idea how I could make this work ?
   Thanks a lot,
 * Hadrien

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

 *  Thread Starter [hadriencab](https://wordpress.org/support/users/hadriencab/)
 * (@hadriencab)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-cli-version-non-resolved/#post-16815950)
 * PS : The inital error is similar to this topic.
   `Uncaught Error: Class 'Piwik\
   Plugins\SitesManager\Model' not found in wp-content/plugins/matomo/classes/WpMatomo/
   Admin/SystemReport.php:997`And if I try to reactivate the multisite check it 
   crashes again. My modification looks simply like this : comments on SystemReports
   files from l.990 to l.999
 * You suggested a conflict with another plugin but all the plugins I have on production
   are the same I have on my developpement site.
   Here is a link to my systemreport:
 * [https://privatebin.net/?16d6092995ec4e84#BZkFapEURFYrm5wd5KAMGxh25D5YCfGFFZJ3WKzPbNJs](https://privatebin.net/?16d6092995ec4e84#BZkFapEURFYrm5wd5KAMGxh25D5YCfGFFZJ3WKzPbNJs)
 *  Plugin Support [emermatomo](https://wordpress.org/support/users/emermatomo/)
 * (@emermatomo)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-cli-version-non-resolved/#post-16817144)
 * Hello [@hadriencab](https://wordpress.org/support/users/hadriencab/) This have
   been a known issue. Kindly follow the steps on this guide on **[How to solve the error message “Your PHP CLI version is not compatible with the Matomo requirements”](https://matomo.org/faq/how-to-solve-the-error-message-your-php-cli-version-is-not-compatible-with-the-matomo-requirements/)**
   
   Please let us know how it goes.
 *  Thread Starter [hadriencab](https://wordpress.org/support/users/hadriencab/)
 * (@hadriencab)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-cli-version-non-resolved/#post-16817974)
 * Hello, 
   I have already tried this and it doesn’t work.My PHP-CLI path is `/usr/
   bin/php` When I click on the “clear Matomo cache” button the page becomes blank
   so I don’t really know if it works properly but the error message is still here.
 *  Plugin Support [emermatomo](https://wordpress.org/support/users/emermatomo/)
 * (@emermatomo)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-cli-version-non-resolved/#post-16823104)
 * Hi [@hadriencab](https://wordpress.org/support/users/hadriencab/) Sorry to hear
   that it didn’t fix the issue. You have several options to fix this problem:
    - Ask your hosting provider to load this file from the PHP Cli This is only 
      possible if you are in a dedicated hosting.
    - 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); }`
 * Please let us know how it goes.
 *  Thread Starter [hadriencab](https://wordpress.org/support/users/hadriencab/)
 * (@hadriencab)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-cli-version-non-resolved/#post-16824397)
 * I’ve already tried these too. What is the difference to load the file from the
   PHP CLI instead of the FTP way ?
 *  Plugin Support [emermatomo](https://wordpress.org/support/users/emermatomo/)
 * (@emermatomo)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-cli-version-non-resolved/#post-16835672)
 * Hello [@hadriencab](https://wordpress.org/support/users/hadriencab/) upon checking
   with this with our devs we will try to find a fix this week and release a new
   plug in version early next week. We do apologize for the inconvenience caused.
 *  Thread Starter [hadriencab](https://wordpress.org/support/users/hadriencab/)
 * (@hadriencab)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-cli-version-non-resolved/#post-16836783)
 * Ok, thanks for the update. 
   In the meantime we will probably go full on premise
   with Matomo especially since we have more than 50 000 hits/month.
 * Thanks for your help,
 * Hadrien
 *  Plugin Support [emermatomo](https://wordpress.org/support/users/emermatomo/)
 * (@emermatomo)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-cli-version-non-resolved/#post-16853384)
 * [@hadriencab](https://wordpress.org/support/users/hadriencab/) Thank you for 
   using Matomo analytics. If you encounter any error with Matomo On-Premise, please
   don’t hesitate to reach out to [hello@matomo.org](https://wordpress.org/support/topic/php-cli-version-non-resolved/hello@matomo.org?output_format=md)
   and we’ll be glad to assist.

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

The topic ‘PHP CLI Version non resolved’ 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/)

 * 8 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/php-cli-version-non-resolved/#post-16853384)
 * Status: resolved