https://github.com/zhangjiayin/php_session_json_handler/ 使用JSON格式序列化的PHP会话扩展 配置php.ini session.serialize_handler = json 也许可以帮助你,试一下?