facebook / facebook/hhvm

always_populate_raw_post_data needs to be set to -1

Open
#6,513 0 comments 0 reactions 0 assignees View on GitHub
php5 incompatibility probably easy
Dominant language
C++
Stars
18.7k
Forks
3.1k
Avg merge
1h 47m
Merged PRs (30d)
2

Description

Version 3.10.1
Version ID 31001
Debug
Compiler ID tags/HHVM-3.10.1-0-g689b4969a141620ee5a282ce0dbf72278c84d44b
Repo Schema 6c99ee1f98340f6f3ef397a332583f0e843a627d
PHP Version 5.6.99-hhvm
Zend Version 2.4.99

Looks like we need to be able to set always_populate_raw_post_data needs to be set to -1.

Right now in my /etc/hhvm/php.ini

If I add hvm.server.always_populate_raw_post_data = -1 Nothing happens.
If I add hvm.server.always_populate_raw_post_data = 1 it gets set to 1.

If i am reading the documentation correctly default is 0.

I found this at this link: https://secure.php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.