PHP APC Locking Type What is the solution to the idea

Source: Internet
Author: User
Tags apc
What is PHP APC locking type?

apc.rfc1867 = 1 has been modified in php.ini,

But open phpinfo (), always show Apc.rfc1867=off

Look up there's a locking type = File Locks;
Will it have something to do with it?



------Solution--------------------
Restart the server after modifying php.ini, such as APACHE,PHP-FPM these
apc.rfc1867 is about uploading a file's progress bar.
Locking type = File Locks is the type of lock that is cached when it is compiled into a bytecode file
------Solution--------------------
Confirm that the modified php.ini file is a valid file.
Test the set to 1 or on can be effective, the following is my configuration content you look at the

Extension=apc.so
apc.enabled = 1
Apc.cache_by_default = On
Apc.shm_segments = 1
Apc.shm_size = 128m
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.