What is phpapclockingtype? apc. rfc18671 has been modified in php. ini. However, when phpinfo () is enabled, apc. rfc1867OFF is always displayed and a lockingtypeFileLocks is displayed. Will it be related to this? ------ Solution ------------------ modify php. ini and restart the server. for example, what is apa php apc locking type?
In php. ini, modify apc. rfc1867 = 1,
However, when phpinfo () is enabled, apc. rfc1867 = OFF is always displayed.
There is a locking type = File Locks;
Will it be related to this?
------ Solution --------------------
After modifying php. ini, restart the server, such as apache and php-fpm.
Apc. rfc1867 is about the file upload progress bar
Locking type = File Locks is the lock type when the cache is compiled as a bytecode File
------ Solution --------------------
Make sure that the modified php. ini file is effective.
Once tested, setting it to 1 or On can take effect. The following is my configuration content for your reference.
Extension = apc. so
Apc. enabled = 1
Apc. cache_by_default = on
Apc. shm_segments = 1
Apc. shm_size = 128 m
Apc. ttl = 7200
Apc. user_ttl = 7200
Apc. num_files_hint = 1024
Apc. write_lock = On
Apc. gc_ttl = 3600
Apc. ttl = 0
Apc. mmap_file_mask =/tmp/apc. XXXXXX
Apc. rfc1867 = 1