安装的扩展 开启配置文件无效
各种招已经试过 无效 每次修改重启php
是否因为没有本机编译 如果有知情的告之
参考过:
https://gregrickaby.com/2013/05/the-perfect-apc-configuration/
https://github.com/ryantenney/php7/blob/master/ext/apc/INSTALL
配置文件
[apcu]
extension=apcu.so
#apc.rfc1867=On
apc.rfc1867 = 1
apc.rfc1867_prefix = "upload_"
apc.rfc1867_name = "APC_UPLOAD_PROGRESS"
apc.rfc1867_freq = 0
apc.enabled=1
apc.shm_segments= 1
apc.shm_size=32M
apc.num_files_hint= 1024
apc.ttl=7200
apc.user_ttl=7200
apc.enable_cli=1
apc.optimization= 1
apc.gc_ttl= 3600
apc.cache_by_default= on
apc.max_file_size=200M
apc.mmap_file_mask=/usr/local/php/var/log/tmp/apc.XXXXXX
各种招已经试过 无效 每次修改重启php
是否因为没有本机编译 如果有知情的告之
参考过:
https://gregrickaby.com/2013/05/the-perfect-apc-configuration/
https://github.com/ryantenney/php7/blob/master/ext/apc/INSTALL
配置文件
[apcu]
extension=apcu.so
#apc.rfc1867=On
apc.rfc1867 = 1
apc.rfc1867_prefix = "upload_"
apc.rfc1867_name = "APC_UPLOAD_PROGRESS"
apc.rfc1867_freq = 0
apc.enabled=1
apc.shm_segments= 1
apc.shm_size=32M
apc.num_files_hint= 1024
apc.ttl=7200
apc.user_ttl=7200
apc.enable_cli=1
apc.optimization= 1
apc.gc_ttl= 3600
apc.cache_by_default= on
apc.max_file_size=200M
apc.mmap_file_mask=/usr/local/php/var/log/tmp/apc.XXXXXX