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

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.

Hello,

I am by no means an expert in PHP so others may (rightly) over rule my advice. I have a similar problems with no obvious PHP.INI within PIWIKI. and the same environment variable “always_populate_raw_post_data=-1” being required.
PHP will be have many options and system level variables set I imagine in cpanel or Plesk - if you have a web hosting solution (as I have). But you can add a file PHP.INI at the root level of your application with the required settings
Thus, the root level of your server might be Pub_HTML and PIWIK installed in a direcory under that PIW so in
Pub_HTML/PIW you create a file PHP.INI with the contents

always_populate_raw_post_data=-1

Save the file
PIWIK should now recognise (and use) this
I hope this helps