# PHP version 5.6.x requires the PHP configuration directive always\_populate\_raw\_post\_data be set to -

**URL:** <https://forum.mautic.org/t/php-version-5-6-x-requires-the-php-configuration-directive-always-populate-raw-post-data-be-set-to/6093>\
**Category:** Product Support\
**Created:** [October 5, 2016, 8:56am UTC](https://forum.mautic.org/t/php-version-5-6-x-requires-the-php-configuration-directive-always-populate-raw-post-data-be-set-to/6093 "2016-10-05T08:56:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshayhallur](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@akshayhallur](https://forum.mautic.org/u/akshayhallur)\
**Post date:** [October 5, 2016, 8:56am UTC](https://forum.mautic.org/t/php-version-5-6-x-requires-the-php-configuration-directive-always-populate-raw-post-data-be-set-to/6093/1 "2016-10-05T08:56:12Z")

</div>

I’m trying to do a fresh install of Mautic on Bluehost shared hosting. When I load up /mautic, it’s showing up the error.  
  
  
  
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.  
  
  
  
Even after I edit the php.ini and added the code, it’s not solving. Any help much appreciated!

---

<div class="post-metadata">

**Author:** ![akshayhallur](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@akshayhallur](https://forum.mautic.org/u/akshayhallur)\
**Post date:** [October 5, 2016, 8:56am UTC](https://forum.mautic.org/t/php-version-5-6-x-requires-the-php-configuration-directive-always-populate-raw-post-data-be-set-to/6093/2 "2016-10-05T08:56:12Z")

</div>

I’m trying to do a fresh install of Mautic on Bluehost shared hosting. When I load up /mautic, it’s showing up the error.

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.

Even after I edit the php.ini and added the code, it’s not solving. Any help much appreciated!

---

<div class="post-metadata">

**Author:** ![Okavango](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@Okavango](https://forum.mautic.org/u/Okavango)\
**Post date:** [December 1, 2016, 1:33am UTC](https://forum.mautic.org/t/php-version-5-6-x-requires-the-php-configuration-directive-always-populate-raw-post-data-be-set-to/6093/3 "2016-12-01T01:33:54Z")

</div>

Same problem here, someone can help or do you find the problem?  
Thanks

---

<div class="post-metadata">

**Author:** ![charlescorn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/charlescorn/32/155_2.png) [@charlescorn](https://forum.mautic.org/u/charlescorn)\
**Post date:** [January 20, 2017, 12:04pm UTC](https://forum.mautic.org/t/php-version-5-6-x-requires-the-php-configuration-directive-always-populate-raw-post-data-be-set-to/6093/4 "2017-01-20T12:04:17Z")

</div>

I had this problem too.  
This solution seems to have worked for me:

1. Create a file called “.user.ini” in the Mautic installation directory
2. Using the editor (CPanel has one), paste this code into the file: always\_populate\_raw\_post\_data = -1
3. Save the file
4. reload your mautic page

I got this solution from  
[http://www.mauticman.com/complete-guide-to-mautic-installation/](http://www.mauticman.com/complete-guide-to-mautic-installation/)  
But like a lot of solutions from techies, it’s a bit badly explained!
