後來弄了好久才找到這個地方的問題 /etc/php.ini : 複製內容到剪貼板 代碼:; - register_long_arrays = Off [Performance]
; Disables registration of the older (and deprecated) long predefined array
; variables ($HTTP_*_VARS). Instead, use the superglobals that were
; introduced in PHP 4.1.0
將 register_long_arrays = Off 改為 register_long_arrays = On
就可以使用舊版的環境變數