-1

I am getting this 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.

where installing mautic. I am using cloudways server. Any suggestion would help!

Aaron Belchamber
  • 1,480
  • 1
  • 16
  • 20
nina debb
  • 39
  • 4

2 Answers2

0

You can easily work around this issue by defining php_admin_value[always_populate_raw_post_data] = -1 under Application Settings > PHP Settings and restarting PHP FPM from Manage Services. Afterwards, the installer will proceed and complete successfully.

ayaz
  • 10,406
  • 6
  • 33
  • 48
0

Edit your php.ini of php-fpm and cli and add the line mentioned in the error.

Alon Eitan
  • 11,997
  • 8
  • 49
  • 58
shreyansh goel
  • 169
  • 1
  • 1
  • 5