Permalink
Browse files

Set always_populate_raw_post_data=-1

PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is
deprecated and will be removed in a future version. To avoid this
warning set 'always_populate_raw_post_data' to '-1' in php.ini and
use the php://input stream instead.
  • Loading branch information...
josh committed Jan 12, 2017
1 parent db0e88a commit 44f5be7a074c7c96fe6a089d61ad7787ca0769d3
Showing with 2 additions and 0 deletions.
  1. +1 −0 Procfile
  2. +1 −0 fpm_custom.conf
View
@@ -0,0 +1 @@
+web: vendor/bin/heroku-php-apache2 -F fpm_custom.conf
View
@@ -0,0 +1 @@
+php_value[always_populate_raw_post_data]=-1

0 comments on commit 44f5be7

Please sign in to comment.