月归档:2014年07月

php用户自定义存储session的类在5.4下的兼容问题

最近把php版本从5.2升级到5.4,结果以前写的自定义存储session的类抛出以下错误

Warning: Invalid callback MemacheSession::write, class ‘MemacheSession’ not found in Unknown on line 0

Warning: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

Warning: Invalid callback MemacheSession::close, class ‘MemacheSession’ not found in Unknown on line 0 继续阅读

发表在 未分类 | 标签为 , , , | 留下评论