我正在运行Apache+Cpanel,其中PHP作为Apache模块安装。我一直在尝试设置W3 Total Cache以查看php和apache扩展,但遇到了一些问题。它检测curl和ftlib,但无法检测从mod\\u deflate到mod\\u setenif的任何扩展。虽然这些即使“未检测到”也能工作,但它也不能检测apc或memcache,我想使用一些缓存插件的组合
php-r\'phpinfo();\'|grep-i“apc”
apc
APC Support => disabled
APC Debugging => Enabled
MMAP File Mask => /tmp/apc.XXXXXX
apc.cache_by_default => On => On
apc.canonicalize => On => On
apc.coredump_unmap => Off => Off
apc.enable_cli => Off => Off
apc.enabled => On => On
apc.file_md5 => Off => Off
apc.file_update_protection => 2 => 2
apc.filters => no value => no value
apc.gc_ttl => 0 => 0
apc.include_once_override => Off => Off
apc.lazy_classes => Off => Off
apc.lazy_functions => Off => Off
apc.max_file_size => 10M => 10M
apc.mmap_file_mask => /tmp/apc.XXXXXX => /tmp/apc.XXXXXX
apc.num_files_hint => 4096 => 4096
apc.preload_path => no value => no value
apc.report_autofilter => Off => Off
apc.rfc1867 => Off => Off
apc.rfc1867_freq => 0 => 0
apc.rfc1867_name => APC_UPLOAD_PROGRESS => APC_UPLOAD_PROGRESS
apc.rfc1867_prefix => upload_ => upload_
apc.rfc1867_ttl => 3600 => 3600
apc.serializer => default => default
apc.shm_segments => 1 => 1
apc.shm_size => 32M => 32M
apc.shm_strings_buffer => 4M => 4M
apc.slam_defense => Off => Off
apc.stat => Off => Off
apc.stat_ctime => Off => Off
apc.ttl => 7200 => 7200
apc.use_request_time => On => On
apc.user_entries_hint => 4096 => 4096
apc.user_ttl => 7200 => 7200
apc.write_lock => On => On
php-r\'phpinfo();\'|grep-我是“memca”
memcache
memcache support => enabled
memcache.allow_failover => 1 => 1
memcache.chunk_size => 8192 => 8192
memcache.default_port => 11211 => 11211
memcache.default_timeout_ms => 1000 => 1000
memcache.hash_function => crc32 => crc32
memcache.hash_strategy => standard => standard
memcache.max_failover_attempts => 20 => 20
Registered save handlers => files user memcache
PWD => /usr/local/src/memcached-1.4.6
_SERVER["PWD"] => /usr/local/src/memcached-1.4.6
_ENV["PWD"] => /usr/local/src/memcached-1.4.6
所以我问了一个可能与此相关的问题:
https://wordpress.stackexchange.com/questions/149343/zend-opcache-no-files-cachedZend Opcache在wordpress安装中没有看到我的任何PHP文件。W3 Total Cache似乎看不到我安装的任何php模块。我很困惑。有人有什么想法吗?如果还有什么可以帮忙的,请告诉我。
域是openproto。我们,如果有帮助的话。