打开php.ini文件,找到variables_order=GPCS改为variables_order=EGPCS,然后重启服务器即可。 转载于:https://www.cnblogs.com/lijiayong/p/5919465.html