-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apc required #59
Comments
報告ありがとうございます! |
$app = (new Bootstrap)->newApp(new AppMeta(__NAMESPACE__), $context, new ApcCache); この 対処法がいくつかあります。
$cache = function_exists('apc_fetch') ? new ApcCache : new FilesystemCache($appMeta->tmpDir);
$app = (new Bootstrap)->newApp($appMeta, $context, $cache);
4)ApcCacheで固定。ユーザーが環境に合わせて手で変える。 |
koriym
added a commit
to bearsunday/BEAR.Package
that referenced
this issue
Feb 26, 2015
bootstrap application cache bearsunday/BEAR.Sunday#59
2)にして解決しました。
を
という風に三番目の引数を無指定にすると |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
とりあえずご報告です。
composer create-project bear/skeleton MyVendor.MyPackage ~1.0@dev
cd MyVendor.MyPackage
composer install
で、該当のURLを開くと、
PHP Fatal error: Call to undefined function Doctrine\Common\Cache\apc_fetch() in /var/www/MyVendor.MyPackage/vendor/doctrine/cache/lib/Doctrine/Common/Cache/ApcCache.php on line 40
となりました。
apt-get で apc を入れるとエラーは解消。
The text was updated successfully, but these errors were encountered: