1. 程式人生 > >服務器輸出多余東西,用ob_clean()也沒用

服務器輸出多余東西,用ob_clean()也沒用

format iter latin headers popu mod modify instead input

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

Warning: Cannot modify header information - headers already sent in Unknown on line 0

Warning: Unknown: Cannot send session cache limiter - headers already sent in Unknown on line 0

解決辦法: 修改 php.ini 文件中 always_populate_raw_post_data = -1 把註釋去掉

服務器輸出多余東西,用ob_clean()也沒用