[Mapguide-trac] [mapguide-trac] #2734: always_populate_raw_post_data should default to -1 in php.ini

MapGuide Open Source trac_mapguide at osgeo.org
Mon Aug 1 05:00:58 PDT 2016


#2734: always_populate_raw_post_data should default to -1 in php.ini
-----------------------+-------------------
   Reporter:  jng      |      Owner:  jng
       Type:  defect   |     Status:  new
   Priority:  low      |  Milestone:  3.1
  Component:  General  |    Version:  3.1.0
   Severity:  trivial  |   Keywords:
External ID:           |
-----------------------+-------------------
 Was testing mapguide-rest against MGOS 3.1 beta 2 to see what needs fixing
 and found this warning a lot in various responses:

 {{{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. in Unknown on line 0}}}

 This is due to a bad default value for {{{always_populate_raw_post_data}}}
 in php.ini

 We should ship a default php.ini with this value set to {{{-1}}}

 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/

--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2734>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list