我正在安裝Akeneo PIM。它基於Symfony2框架。什麼是操作碼和數據緩存php
它有一些先決條件。有些我明白了,有些令人困惑。
我在WAMP中安裝了Zend opcache,並在phpinfo中顯示,但我不知道php中的數據緩存是什麼。
我需要這個幫助.....
我收到此錯誤:
(!) Fatal error: Call to undefined function Doctrine\Common\Cache\apc_fetch() in D:\wamp\www\akeneo\vendor\doctrine\cache\lib\Doctrine\Common\Cache\ApcCache.php on line 40
Call Stack
# Time Memory Function Location
1 0.0140 139760 {main}() ..\app.php:0
2 0.4300 334232 Symfony\Component\HttpKernel\Kernel->handle() ..\app.php:24
3 0.4300 334344 Symfony\Component\HttpKernel\Kernel->boot() ..\bootstrap.php.cache:2253
4 84.9849 830408 Symfony\Component\HttpKernel\Kernel->initializeContainer() ..\bootstrap.php.cache:2222
5 157.3350 19333112 Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() ..\bootstrap.php.cache:2451
6 157.4190 19379904 Symfony\Bridge\Doctrine\CacheWarmer\ProxyCacheWarmer->warmUp() ..\CacheWarmerAggregate.php:47
7 157.4330 19380208 Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getAllMetadata() ..\ProxyCacheWarmer.php:69
8 159.3501 20279512 Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor() ..\AbstractClassMetadataFactory.php:114
9 159.3561 20283608 Pim\Bundle\CatalogBundle\Doctrine\ArrayApcCache->fetch() ..\AbstractClassMetadataFactory.php:207
10 159.3561 20283632 Doctrine\Common\Cache\CacheProvider->fetch() ..\ArrayApcCache.php:54
11 159.3561 20283656 Doctrine\Common\Cache\CacheProvider->getNamespacedId() ..\CacheProvider.php:78
12 159.3561 20283688 Doctrine\Common\Cache\CacheProvider->getNamespaceVersion() ..\CacheProvider.php:147
13 159.3561 20284072 Doctrine\Common\Cache\ApcCache->doFetch() ..\CacheProvider.php:174
請讓我們知道,如果你成功地做你想做的事。如果您認爲其中一個答案對您有幫助或可以在將來幫助其他人,請考慮進行投票和標記。 – foobar 2015-08-07 13:29:08