解决错误 Undefined variable: _SESSION 应该将php配置文件php.ini中的配置项session.auto_start设为1 session.auto_start=1 自由 分享 进步