Why am I getting session_start(): Cannot find save handler 'memcached' - session startup failed on google app engine?

删除回忆录丶 提交于 2021-01-29 07:44:37

问题


I configured php.ini using this following code:

session.save_handler = memcached
session.save_path = "127.0.0.1:11211"

Can anyone please tell why am I still getting this error?


回答1:


I think the issue is your save_path variable.

Try this :

session.save_handler = memcached
session.save_path = "127.0.0.1:11211"

Also check this :

$memcache = new Memcache;
$memcache->connect('localhost', 11211) or die ("Could not connect");

are you able to connect or not?

Hope it helps!!

ref: https://www.dotdeb.org/2008/08/25/storing-your-php-sessions-using-memcached/



来源:https://stackoverflow.com/questions/41421278/why-am-i-getting-session-start-cannot-find-save-handler-memcached-session

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!