Php AWS ElastiCache上的Magento 1.9.x会话和自动发现

Php AWS ElastiCache上的Magento 1.9.x会话和自动发现,php,magento,amazon-web-services,memcached,amazon-elasticache,Php,Magento,Amazon Web Services,Memcached,Amazon Elasticache,我试图在我们的Magento web应用程序上为memcache实现AWS ElastiCache自动发现,但遇到了一些问题。我遵循了文档()中的信息,但仍然出现以下错误: 2016-11-02T14:47:18+00:00 ERR (3): Warning: Unknown: Failed to write session data (memcached). Please verify that the current setting of session.save_path is corre

我试图在我们的Magento web应用程序上为memcache实现AWS ElastiCache自动发现,但遇到了一些问题。我遵循了文档()中的信息,但仍然出现以下错误:

2016-11-02T14:47:18+00:00 ERR (3): Warning: Unknown: Failed to write session data (memcached). Please verify that the current setting of session.save_path is correct (uat1-memcache.sbutwp.cfg.euw1.cache.amazonaws.com:11211)  in Unknown on line 0
我假设这可能与使用以下内容覆盖Memcached客户机类有关:

$dynamic_client = new Memcached('persistent-id');
$dynamic_client->setOption(Memcached::OPT_CLIENT_MODE, Memcached::DYNAMIC_CLIENT_MODE);
$dynamic_client->addServer($server_endpoint, $server_port);
但是我不完全确定如何使用session_start使用这些选项初始化memcached类,Magento使用session_start初始化会话

任何帮助都将不胜感激