Mautic Community Forums

always_populate_raw_post_data be set to -1

Hi: I’m getting this message during installation…





Major Problems that need to be fixed now

We have detected 1 major problems. You must fix them before continuing:

PHP version 5.6.x requires the PHP configuration directive always_populate_raw_post_data be set to -1. This is handled automatically by the .htaccess file when using Apache and mod_php5, but must be set manually in php.ini for other server configurations. Please add ‘always_populate_raw_post_data = -1’ to your php.ini and restart your web server.



Any hint?



Thanks,

Esteban

Hi: I’m getting this message during installation…

Major Problems that need to be fixed now
We have detected 1 major problems. You must fix them before continuing:
PHP version 5.6.x requires the PHP configuration directive always_populate_raw_post_data be set to -1. This is handled automatically by the .htaccess file when using Apache and mod_php5, but must be set manually in php.ini for other server configurations. Please add ‘always_populate_raw_post_data = -1’ to your php.ini and restart your web server.

Any hint?

Thanks,
Esteban

And what is the problem??? You have the the step that need to do to fix that.

HI
I have the same problem, any idea how to solve it ??

Put this at the bottom of your .htaccess file:

<IfModule mod_php5.c> # @link https://github.com/mautic/mautic/issues/1504 php_value always_populate_raw_post_data -1 </IfModule>

And, follow these steps to edit your php.ini: