Skip to content
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

APCu Support => Disabled #99

Closed
skylineservers opened this issue Dec 6, 2014 · 1 comment
Closed

APCu Support => Disabled #99

skylineservers opened this issue Dec 6, 2014 · 1 comment

Comments

@skylineservers
Copy link

This is probably an easy one but every fresh compile of the latest version continually reports that support is disabled, yet apc.php shows that it's doing something. Any insight? Thanks!

[root@dev ~]# php -v
PHP 5.4.16 (cli) (built: Oct 31 2014 12:59:36)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
[root@dev ~]# php --ri apcu

apcu

APCu Support => Disabled
Version => 4.0.8
APCu Debugging => Disabled
MMAP Support => Enabled
MMAP File Mask =>
Serialization Support => Disabled
Revision => $Revision: 328290 $
Build Date => Dec  5 2014 18:22:29

Directive => Local Value => Master Value
apc.enabled => On => On
apc.shm_segments => 1 => 1
apc.shm_size => 256M => 256M
apc.entries_hint => 4096 => 4096
apc.gc_ttl => 3600 => 3600
apc.ttl => 7200 => 7200
apc.smart => 0 => 0
apc.mmap_file_mask => no value => no value
apc.enable_cli => Off => Off
apc.slam_defense => On => On
apc.rfc1867 => Off => Off
apc.rfc1867_prefix => upload_ => upload_
apc.rfc1867_name => APC_UPLOAD_PROGRESS => APC_UPLOAD_PROGRESS
apc.rfc1867_freq => 0 => 0
apc.rfc1867_ttl => 3600 => 3600
apc.preload_path => no value => no value
apc.coredump_unmap => Off => Off
apc.use_request_time => On => On
apc.serializer => php => php
apc.writable => /tmp => /tmp

[root@dev ~]# grep apc /etc/php.ini
[apcu]
extension=/usr/lib64/php/modules/apcu.so
apc.enabled=1
apc.shm_size=256M
apc.ttl=7200
apc.enable_cli=0
apc.gc_ttl=3600
apc.entries_hint=4096
apc.slam_defense=1
apc.serializer=php
@krakjoe
Copy link
Owner

krakjoe commented Aug 30, 2015

You haven't got apc.enable_cli set to 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants