Unable to install Matomo on Debian 10 with PHP 7.3

Debian 10
PHP 7.3

When trying to access Matomo I get the following PHP warning and fatal:

[Sun Oct 27 22:56:38.443038 2019] [php7:warn] [pid 16723] [client] PHP Warning:  Use of undefined constant PIWIK_USER_PATH - assumed 'PIWIKPIWIK_USER_PATH' (this will throw an Error in a future version of PHP) in /../matomo/config/global.php on line 11
[Sun Oct 27 22:56:38.444358 2019] [php7:error] [pid 16723] [client] PHP Fatal error:  Uncaught Error: Call to undefined function DI\\string in /../matomo/config/global.php:
Stack trace:
#0 {main}  thrown in /../matomo/config/global.php on line 32

What I would like to do is install Matomo. What is happening?

Note that I do not even get to the point of running some install script or so to get Matomo going. Also not sure why it is complaining about Piwik. I downloaded Matomo as instructed Installing Matomo User Guide - Analytics Platform - Matomo with

wget https://builds.matomo.org/matomo.zip && unzip matomo.zip

Thanks for your time.

Ok, somehow I tried to install via /../config/global.php so this was obviously destined to fail. Got the install screen now. Keeping fingers crossed. :slight_smile:

1 Like