Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/261.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
APC不会在zend中缓存index.php以外的文件_Php_Zend Framework_Apc_Opcode - Fatal编程技术网

APC不会在zend中缓存index.php以外的文件

APC不会在zend中缓存index.php以外的文件,php,zend-framework,apc,opcode,Php,Zend Framework,Apc,Opcode,我安装了APC,并尝试将其用于zend framework的操作码缓存 问题是缓存的唯一文件是index.php 我的APC配置: apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 32M apc.optimization = 0 apc.num_files_hint = 512 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cac

我安装了APC,并尝试将其用于zend framework的操作码缓存


问题是缓存的唯一文件是index.php

我的APC配置:

apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 32M
apc.optimization = 0
apc.num_files_hint = 512
apc.user_entries_hint = 1024
apc.ttl = 0
apc.user_ttl = 0
apc.gc_ttl = 600
apc.cache_by_default = 1
apc.slam_defense = 0
apc.use_request_time = 1
apc.mmap_file_mask = /tmp/apc-accountname.XXXXXX
apc.file_update_protection = 2
apc.enable_cli = 0
apc.max_file_size = 2M
apc.stat = 1
apc.write_lock = 1
apc.report_autofilter = 0
apc.include_once_override = 0
apc.rfc1867 = 0
apc.rfc1867_prefix = "upload_"
apc.rfc1867_name = "APC_UPLOAD_PROGRESS"
apc.rfc1867_freq = 0
apc.localcache = 1
apc.localcache.size = 512
apc.coredump_unmap = 0
apc.stat_ctime = 0
更新


它实际上不缓存任何包含的或必需的文件。

缓存的唯一文件是index.php-您是如何得到它的?php是如何运行的,它是作为CGI运行的,每次调用时都会生成php吗?