PHP version 5.6.x requires the PHP configuration directive always_populate_raw_post_data be set to -

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!

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!

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

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/
But like a lot of solutions from techies, it’s a bit badly explained!