Erro com always_populate_raw_post_data

11 views
Skip to first unread message

Luiz Gustavo Mafra

unread,
Feb 28, 2016, 11:20:15 PM2/28/16
to yii-framew...@googlegroups.com
Boa noite pessoal,

Estou fazendo um webservice que vai se comunicar com um aplicativo android. Quando estou tentando enviar dados por post para o webservice está me retornando o seguinte erro:

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

Já tentei alterar o valor da variavel no php.ini, continuar dando erro.
Estou usando a versão 5.6 do PHP

--
Luiz Gustavo S. Mafra
Bacharel em Ciência da Computação - UESC - Universidade Estadual de Santa Cruz
Analista de Sistemas - Santa Casa de Misericórdia de Itabuna
Desenvolvedor PHP, Android, .Net, Python, JEE

+55 73 9147 0547
+55 73 8888 7500

twitter: @lgmafra
skype: lgmafra
Reply all
Reply to author
Forward
0 new messages