1
我想POST一個大的輸入類型的文本,但在目標腳本上它顯示POST變量不存在。我已經改變了我的php.ini設置,但仍然無濟於事。Apache webserver刪除大文本POST變量
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 99999
; Maximum amount of time each script may spend parsing request data. Its a good
; idea to limit this time on productions servers in order to eliminate unexpectedly
; long running scripts.
; Note: This directive is hardcoded to -1 for the CLI SAPI
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; http://php.net/max-input-time
max_input_time = 4800
; Maximum input variable nesting level
; http://php.net/max-input-nesting-level
;max_input_nesting_level = 256
; How many GET/POST/COOKIE input variables may be accepted
; max_input_vars = 10000
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 2048M
的Apache警告日誌以下錯誤: ALERT - 配置的請求變量值的長度超出限制 - 下降變量
如果我的var_dump: 的var_dump($文件=的file_get_contents('PHP://輸入'));
我可以看到所需的帖子變量。
任何幫助將不勝感激。