0

what is the use of always_populate_raw_post_data module

I saw the below module in my config file. What is the use of that.

always_populate_raw_post_data

christian
asked May 10, 2017
1 Answer
0

"As of PHP 5.6.0 always_populate_raw_post_data is deprecated and is commented out. So this value always equals 0 in php.ini

In order to override this you have two options

  1. If you are using CGI/FCGI

Refer to your phpinfo(), find the value for 'user_ini.filename'. It should be sth like .user.ini or php.ini

In your web root create a file with the filename you found above, (e.g. .user.ini). If it's already there open it with a text editor.

In it add the line

always_populate_raw_post_data = -1

  1. If not

Open your .htaccess file with a text editor.

Add the following code


php_value always_populate_raw_post_data -1

"

View More
linuxhelp
answered Jan 17, 2019
Your Answer
||||
 
100:0

Related Tutorials in what is the use of always_populate_raw_post_data module

Related Tutorials in what is the use of always_populate_raw_post_data module

Related Forums in what is the use of always_populate_raw_post_data module

Related Forums in what is the use of always_populate_raw_post_data module