phalcon session memcached Failed storing data in memcached, error code: 47
2018-04-18 09:00
911 查看
我在使用 memcache 来替代 file作为session的后端存储的时候,出现了
的bug,一开始我以为是memcache的配置引起的。最后发现原来是由于memcache的php扩展造成的。
我的开发机php的memcache扩展是2.2.0,这个扩展是在2014.4.1发布的。相对于我使用的phalcon 3.2.4(发布时间是2017.10.21)确实落后了3年多的时间。
造成了由于memcache的扩展太老而没有用到它的新特性的问题。进而造成的上面的错误。
=================
memcached的php扩展从3.x开始支持PHP7了,如果你的PHP版本5.x,请使用memcahce2.2.0版本。这个就误解了。为了使用memcached我需要升级php7了?
Failed storing data in memcached, error code: 47
的bug,一开始我以为是memcache的配置引起的。最后发现原来是由于memcache的php扩展造成的。
我的开发机php的memcache扩展是2.2.0,这个扩展是在2014.4.1发布的。相对于我使用的phalcon 3.2.4(发布时间是2017.10.21)确实落后了3年多的时间。
造成了由于memcache的扩展太老而没有用到它的新特性的问题。进而造成的上面的错误。
=================
memcached的php扩展从3.x开始支持PHP7了,如果你的PHP版本5.x,请使用memcahce2.2.0版本。这个就误解了。为了使用memcached我需要升级php7了?
相关文章推荐
- FAILED: Error in metadata: javax.jdo.JDOFatalDataStoreException:
- TclTk failed after upgrade to 9.10 in XVnc Session
- Storing Configuration Data in BizTalk Enterprise SSO
- Take Advantage of CONTEXT (dbms_session.set_context) in trigger to sync data bidirectionally
- Session object destruction failed in
- OpenSessionInViewFilter与org.springframework.dao.InvalidDataAccessApiUsageException
- /Localizable.strings:0: error: read failed: The data couldn’t be read because it isn’t in the correc
- ES错误Error:Failed to parse mapping [data]:[_ttl] is removed in 5.0
- codelgniter Failed to write session data (user). Please verify that the ...
- Storing UTF-8 data in VARCHAR or NVARCHAR?
- spring data jpa 中的OpenEntityManagerInViewFilter 取代OpenSessionInViewFilter 放置session失效
- Storing Hierarchical Data in Oracle & MS SQL Database
- Fix failed to start session in Ubuntu
- User Secrets – Storing sensitive data in ASP.NET Core projects
- [转载]Failed to read session data On PHP 7.1
- Options for Storing Hierarchical Data in a Relational Database
- spring data jap的openEntityManagerInViewFilter和hibernate的openSessionInViewFilter
- Could not store transport type data for Receive Location 'Recv.Loc' to config store. Primary SSO Server 'Sql-server' failed. The external credentials in the SSO database are more recent.
- FAILED: Error in metadata: javax.jdo.JDOFatalDataStoreException
- 【Hibernate】failed to lazily,no session or session was closed,OpenSessionInViewFilter不生效