Matomo does not work with php 7.2


I downgraded from 7.2 to 7.1 to be able to upgrade to the latetst version of Matomo (3.6.0).
When I changed php to 7.2 again the matomo website generates a white screen.

The differrence between php 7.1 and 7.2 that seems relevant is mcrypt as php extension: it is available at php 7.1 and not at php 7.2

Can you confirm that this generates the issue reported? And if not: is there any advice on how to solve the issue other then downgrading to php 7.1?

Thank you.


(Fabian Dellwing) #2

You can still get mycrypt for PHP 7.2. See e.g. How to install mcrypt in php7.2 | Lukáš Mešťan

To tell you exactly what goes wrong with PHP 7.2 we would need to see the error from the error_log after the wsod is generated.

(Lukas Winkler) #3

Hi @onderzoekspraktijk,

I am using Matomo with PHP 7.2 in production for quite a while now. While the tests are not yet running with 7.2 and therefore it isn’t “officially” supported, there shouldn’t be any errors with 7.2 anymore.

(Pak Kriss) #4

A couple of weeks ago we run in issues with php 7.2 and matomo (all std. and all premium plugins enabled) and it turned out one or two plugins wasn’t 7.2 ready. So we are back to 7.0 or 7.1. Since it’s a while ago I cannot remember details nor I know the current 7.2 compatibility of Matomo across all plugins. We will review this case at the end of the year.