Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Php console fails with php 7.1.5

$
0
0

@Guillaume_Multon wrote:

Hello
I am using piwik 3.1.1 with php 7.1.5 and Zend Engine 3.1.0. I have installed extensions mysqli, pdo_mysql, ctypes, simplexml and compiled with session

When i try to launch php console core:update (or visitorgenerator:generate-visits … for exemple), it fails directly with this message :

Piwik and Zend_Session require the session extension

It appears your PHP was compiled with --disable-session.
To enjoy Piwik, you need PHP compiled without that configure option.
Piwik requires the php5-json extension which provides the functions json_encode() and json_decode()

It appears your PHP has not yet installed the php5-json extension.
To use Piwik, please ask your web host to install php5-json or install it yourself, for example on debian system: sudo apt-get install php5-json.
Then restart your webserver and refresh this page.

Any idea about this issue ?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles