roles/php5-fpm: Disable always_populate_raw_post_data
Deprecated in PHP 5.6 and causes problems with Piwik. I'm not sure if WordPress needs this, but I did find some references in its code to $HTTP_RAW_POST_DATA. See: https://secure.php.net/manual/en/migration56.deprecated.php#migration56.deprecated.raw-post-data See: https://www.bram.us/2014/10/26/php-5-6-automatically-populating-http_raw_post_data-is-deprecated-and-will-be-removed-in-a-future-version/ Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
c3dc5dc0aa
commit
869d7f6c7e
@ -696,7 +696,7 @@ default_mimetype = "text/html"
|
|||||||
; to disable this feature. If post reading is disabled through
|
; to disable this feature. If post reading is disabled through
|
||||||
; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated.
|
; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated.
|
||||||
; http://php.net/always-populate-raw-post-data
|
; http://php.net/always-populate-raw-post-data
|
||||||
;always_populate_raw_post_data = On
|
always_populate_raw_post_data = -1
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; Paths and Directories ;
|
; Paths and Directories ;
|
||||||
|
Loading…
Reference in New Issue
Block a user