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

Always_populate_raw_post_data=-1 cannot find php.ini for this code

$
0
0

@dgmck wrote:

When it did a system
check during installation I got this error:

always_populate_raw_post_data=-1

To prevent some critical issue,
you must set the following in your php.ini file:
always_populate_raw_post_data=-1

After making this change, restart
your web server.

I couldn’t find just a php.ini file in my piwik directory.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I found the following warning in config/global.ini.php

;--------

; WARNING - YOU SHOULD NOT EDIT THIS FILE DIRECTLY - Edit config.ini.php
instead.

<?php exit; ?> DO NOT REMOVE THIS LINE

; If you want to change some of these default values,
the best practise is to override

; them in your configuration file in
config/config.ini.php. If you directly edit this file,

; you will lose your changes when you upgrade Piwik.

; For example if you want to override
action_title_category_delimiter,

; edit config/config.ini.php and add the following:

; [General]

; action_title_category_delimiter = "-"

I could not find any config.ini.php or a php.ini file in the directory for piwik

I need help with where to put the always_populate_raw_post_data=-1 line.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles