wodby / drupal-php

PHP docker container image for Drupal
https://wodby.com/stacks/drupal
MIT License
61 stars 79 forks source link

Drupal 8 issue on install due to php.ini HTTP_RAW_POST_DATA value #33

Closed dameert closed 7 years ago

dameert commented 7 years ago

Using the docker4drupal image and getting an error on install (using nginx). Drupal offers a solution in the error message: 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.

How would I be able to modify that parameter? Many thanks in advance for your help.

csandanov commented 7 years ago

What version of PHP are you using? The option always_populate_raw_post_data was removed in PHP 7.0.

Just in case I've set this option to -1 in php 5.6.

dameert commented 7 years ago

Sorry forgot to specify! Using PHP 5.6, I'll test it out this evening!

csandanov commented 7 years ago

Make sure you're using non-tagged version, i.e. just wodby/drupal-php:5.6. Btw, what's the point of deploying D8 with 5.6? It's fully compatible with PHP 7.

dameert commented 7 years ago

It works & Indeed there is no good reason for 5.6 and D8 that I can think of.