From 4f4f1d559ad3fb8964096df0b1a2428434856c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannu=20R=C3=A4is=C3=A4nen?= Date: Wed, 19 Oct 2016 10:27:24 +0300 Subject: [PATCH 1/2] Suppress warning by setting always_populate_raw_post_data explicitly to -1. --- Procfile | 2 +- fpm_custom.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 fpm_custom.conf diff --git a/Procfile b/Procfile index 97a560dd32..fe51b3fea2 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: vendor/bin/heroku-php-nginx -C config/heroku/nginx.conf web +web: vendor/bin/heroku-php-nginx -C config/heroku/nginx.conf -F fpm_custom.conf web diff --git a/fpm_custom.conf b/fpm_custom.conf new file mode 100644 index 0000000000..4b9d755434 --- /dev/null +++ b/fpm_custom.conf @@ -0,0 +1 @@ +php_value[always_populate_raw_post_data]=-1 \ No newline at end of file From 4e2cfefb226130ff17e37ae8b587304bedd28efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannu=20R=C3=A4is=C3=A4nen?= Date: Tue, 15 Nov 2016 12:39:04 +0200 Subject: [PATCH 2/2] Move fpm_custom.cong to correct location i.e. to Heroku specific confs. --- Procfile | 2 +- fpm_custom.conf => config/heroku/fpm_custom.conf | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename fpm_custom.conf => config/heroku/fpm_custom.conf (100%) diff --git a/Procfile b/Procfile index fe51b3fea2..c33158c11b 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: vendor/bin/heroku-php-nginx -C config/heroku/nginx.conf -F fpm_custom.conf web +web: vendor/bin/heroku-php-nginx -C config/heroku/nginx.conf -F config/heroku/fpm_custom.conf web diff --git a/fpm_custom.conf b/config/heroku/fpm_custom.conf similarity index 100% rename from fpm_custom.conf rename to config/heroku/fpm_custom.conf