What is phpapclockingtype?

Source: Internet
Author: User
Tags apc file upload progress bar
What is phpapclockingtype in php. apc is modified in ini. rfc1867 = 1, but open phpinfo (), always display apc. rfc1867 = OFF there is a lockingtype = FileLocks; will it be related to this ?, Modify php. ini and restart the server. for example, what is the ap 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.