我得到錯誤APC未在PHP工作7
Fatal error: Uncaught Error: Call to undefined function apc_clear_cache()
你能告訴我如何解決這個問題? 我有這個版本的PHP
PHP 7.0.15-0ubuntu0.16.04.4 (cli) (NTS)
雖然顯示的phpinfo:
apcu
APCu Support Enabled
Version 5.1.3
APCu Debugging Disabled
MMAP Support Enabled
MMAP File Mask no value
Serialization Support php
Build Date Apr 5 2016 02:16:47
Directive Local Value Master Value
apc.coredump_unmap Off Off
apc.enable_cli Off Off
apc.enabled On On
apc.entries_hint 4096 4096
apc.gc_ttl 3600 3600
apc.mmap_file_mask no value no value
apc.preload_path no value no value
apc.serializer php php
apc.shm_segments 1 1
apc.shm_size 32M 32M
apc.slam_defense On On
apc.smart 0 0
apc.ttl 0 0
apc.use_request_time On On
apc.writable /tmp /tmp
可能重複:http://stackoverflow.com/questions/36129259/php7-with-apcu-call-to-undefined-function-apc-fetch – mkilmanas
的可能的複製[PHP7與APCu - 調用未定義函數apc \ _fetch()](http://stackoverflow.com/questions/36129259/php7-with-apcu-call-to-undefined-function-apc-fetch) – DotBert
格式錯誤和信息塊。 –