Mautic Community Forums

Mautic Instalation error

I have a trouble installing mautic

“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.”



How I can fix it?

I have a trouble installing mautic
“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.”

How I can fix it?

I upgraded to PHP 7 and that issue was gone. Do you have the option to upgrade?

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

create a file php.ini
As sample
memory_limit = 268435456;
post_max_size = 67108864;
safe_mode = off;
upload_max_filesize = 67108864;
always_populate_raw_post_data = -1;
date.timezone = Europe/Berlin;