php - Symfony 2 apc caching error -


i moving symfony 2 project production environment on shared hosting. when execute file app.php error of

 fatal error: call undefined function doctrine\common\cache\apc_fetch() in /data/web/virtuals/53627/virtual/www/vendor/doctrine/cache/lib/doctrine/common/cache/apccache.php on line 40 

i contacted hosting provider , told no longer user apc caching, seems outdated, moved further.

is there way how omit apc caching using symfony + doctrine?

thank you

check out app/config.yml: doctrine cache drivers pretty configurable, , as doc states, set them array. pretty this:

doctrine:     orm:         auto_mapping: true         metadata_cache_driver: array         query_cache_driver: array         result_cache_driver: array 

also note default configuration, defaults must've been overridden.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -