Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong php version #1114

Open
23b-production opened this issue May 8, 2024 · 1 comment
Open

wrong php version #1114

23b-production opened this issue May 8, 2024 · 1 comment

Comments

@23b-production
Copy link

hi there

the plugin does not find the correct php version. I can't go on from here.

Here you find the current version. https://kunsttherapie-sw.ch/phpinfo.php (just a little echo :))

Here a piece of the error code:
# Errors

  • Error Letzter erfolgreicher Abschluss der Archivierung: error (Die Archivierung wurde noch nicht erfolgreich abgeschlossen )
  • Error 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)
  • Error MySQLi support: missing (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)

Matomo

  • Matomo Plugin Version: 5.0.6
  • Config exists and is writable.: Yes ("$abs_path/wp-content/uploads/matomo/config/config.ini.php" )
  • JS Tracker exists and is writable.: Yes ("$abs_path/wp-content/uploads/matomo/matomo.js" )
  • Plugin directories: Yes ([{"pluginsPathAbsolute":"$abs_path/wp-content/plugins/matomo/plugins","webrootDirRelativeToMatomo":"../plugins"}])
  • Tmp directory writable: Yes ($abs_path/wp-content/cache/matomo)
  • Matomo Version: 5.0.2
  • Matomo Blog idSite: 1
  • Matomo Install Version: 5.0.6 (Install date: 2024-05-08 23:06:30)
  • Upgrades outstanding: No
  • Upgrade in progress: No

Endpoints

  • Matomo JavaScript Tracker URL: ($site_url/wp-content/uploads/matomo/matomo.js)
  • Matomo JavaScript Tracker - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)
  • Matomo HTTP Tracking API: ($site_url/wp-content/plugins/matomo/app/matomo.php)
  • Matomo HTTP Tracking API - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)

Crons

  • Server time: 2024-05-08 23:12:34
  • Blog time: 2024-05-08 23:12:34 (Below dates are shown in blog timezone)
  • Sync users & sites: Next run: 2024-05-08 23:07:15 (-5 Minuten 19s) ( Last started: Unknown. Last ended: Unknown. Interval: daily)
  • Archive: Next run: 2024-05-08 23:06:44 (-5 Minuten 50s) ( Last started: Unknown. Last ended: Unknown. Interval: hourly)
  • Update GeoIP DB: Next run: 2024-05-08 23:07:05 (-5 Minuten 29s) ( Last started: Unknown. Last ended: Unknown. Interval: matomo_monthly)

Mandatory checks

  • PHP-Version >= 7.2.5: ok
  • PDO Erweiterung: ok
  • PDO\MYSQL Erweiterung: ok
  • MYSQLI Erweiterung: ok
  • Weitere erforderliche Anforderungen: ok
  • Erforderliche Funktionen: ok
  • Benötigte PHP Konfiguration (php.ini): ok
  • Verzeichnisse mit Schreibzugriff: ok
  • Verzeichnisse mit Schreibzugriff auf Tag Manager: ok

thanks
Jannik

@diosmosis
Copy link
Member

Hi @23b-production, it's not the web PHP that is the wrong version, it's the PHP CLI that Matomo detected. Matomo is probably detecting the CLI incorrectly. There are two ways to fix this:

If your website gets a lot of traffic, you may want to use the second solution.

Let me know if this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants