P
P
Pavel Nikitin2016-02-18 11:22:28
PHP
Pavel Nikitin, 2016-02-18 11:22:28

Why doesn't APC caching work?

Installed APC on debian 8 jessie:

# apt-get update
# apt-get install php5-apcu
# nano /etc/php5/mods-available/apcu.ini

Collected config:
extension=apcu.so
apc.enabled=1
apc.shm_segments=1
apc.shm_size=1024M
apc.ttl=3600
apc.user_ttl=7200
apc.gc_ttl=3600
apc.max_file_size=1M
apc.stat=1

infophp:
c6a10cd1a67a4d17bab5a43bcba128e7.pngapc.php
0a041b1aa8314759b44d3e0256033c1b.pngWhy is the cache not working? Monitoring always shows zeros..

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel Nikitin, 2016-02-18
@kopbox

Found this information

/tmp/pear/temp/APC/apc_compile.c:2417:9: error: ‘zend_trait_precedence’ has
no member named ‘function’
make: *** [apc_compile.lo] Error 1
ERROR: `make' failed

S
Silm, 2016-02-18
@Silm

And where is the piece of PHP code in which you are trying or using APC? And the result...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question