# always\_populate\_raw\_post\_data be set to -1

**URL:** https://forum.mautic.org/t/always-populate-raw-post-data-be-set-to-1/6832
**Category:** Product Support
**Created:** [December 13, 2016, 12:38am UTC](https://forum.mautic.org/t/always-populate-raw-post-data-be-set-to-1/6832 "2016-12-13T00:38:48Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![esteowen](https://avatars.discourse-cdn.com/v4/letter/e/22d042/32.png) [@esteowen](https://forum.mautic.org/u/esteowen)
#### Post date: [December 13, 2016, 12:38am UTC](https://forum.mautic.org/t/always-populate-raw-post-data-be-set-to-1/6832/1 "2016-12-13T00:38:48Z")

</div>

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

---

<div class="post-metadata">

### Author: ![esteowen](https://avatars.discourse-cdn.com/v4/letter/e/22d042/32.png) [@esteowen](https://forum.mautic.org/u/esteowen)
#### Post date: [December 13, 2016, 12:38am UTC](https://forum.mautic.org/t/always-populate-raw-post-data-be-set-to-1/6832/2 "2016-12-13T00:38:48Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)
#### Post date: [December 13, 2016, 2:28pm UTC](https://forum.mautic.org/t/always-populate-raw-post-data-be-set-to-1/6832/3 "2016-12-13T14:28:48Z")

</div>

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

---

<div class="post-metadata">

### Author: ![sb1f](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@sb1f](https://forum.mautic.org/u/sb1f)
#### Post date: [June 19, 2017, 6:12pm UTC](https://forum.mautic.org/t/always-populate-raw-post-data-be-set-to-1/6832/4 "2017-06-19T18:12:25Z")

</div>

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

---

<div class="post-metadata">

### Author: ![redneckbob](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@redneckbob](https://forum.mautic.org/u/redneckbob)
#### Post date: [June 22, 2017, 7:51am UTC](https://forum.mautic.org/t/always-populate-raw-post-data-be-set-to-1/6832/5 "2017-06-22T07:51:13Z")

</div>

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>`

---

<div class="post-metadata">

### Author: ![redneckbob](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@redneckbob](https://forum.mautic.org/u/redneckbob)
#### Post date: [June 22, 2017, 8:00am UTC](https://forum.mautic.org/t/always-populate-raw-post-data-be-set-to-1/6832/6 "2017-06-22T08:00:19Z")

</div>

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

- [https://www.mautic.org/community/index.php/6734-mautic-installation-environment-check-always-populate-raw-post-/0](https://www.mautic.org/community/index.php/6734-mautic-installation-environment-check-always-populate-raw-post-/0)
