Php Memcache是必需的错误-appengine上的symfony

Php Memcache是必需的错误-appengine上的symfony,php,symfony,google-app-engine,Php,Symfony,Google App Engine,使用appengine starter symfony project()创建了新项目,并尝试按如下方式运行app/server: composer run-script server --timeout=0 收到错误: // Clearing the cache for the dev environment with debug // false [Symfony\Component\Cache\Exception\CacheException] Memcached &g

使用appengine starter symfony project()创建了新项目,并尝试按如下方式运行app/server:

composer run-script server --timeout=0
收到错误:

 // Clearing the cache for the dev environment with debug
 // false



  [Symfony\Component\Cache\Exception\CacheException]
  Memcached >= 2.2.0 is required

在Xampp(Win 10)上运行PHP 7.2.8版,在ext文件夹中看不到PHP_memcache。

事实上,这是预期的行为。如果您查看
config.yml
的内部,您将看到以下内容:

services:
    memcache:
        class: Memcache
    session.handler.memcache:
        class: Symfony\Component\HttpFoundation\Session\Storage\Handler\MemcacheSessionHandler
        arguments:
          - "@memcache"
          - { prefix: ~, expiretime: ~ }
基本上,缓存依赖于
Memchace
。您可以调整并切换到其他供应商,或者安装适当的DLL


希望这有点帮助…

好的,谢谢,抱歉,但是如何将memcache安装到xampp中?对我来说,复制生产环境比更改代码/依赖项更好。没有它,项目似乎运行正常。我想,当项目部署到谷歌应用程序引擎时,它会发挥更大的作用。