Phpapc installation _ PHP Tutorial-php Tutorial

Source: Internet
Author: User
Install phpapc. APC (AlternativePHPCache) function: used to cache and optimize PHP intermediate code extensions: no other extensions are required. note: On Windows, APC will detect TMP, TEMP, USERPROFILE: Windows environment APC (Alternative PHP Cache)

Purpose: cache and optimize PHP intermediate code

Extension: no additional extension is required.

Note: On Windows, APC checks the Windows environment variables TMP, TEMP, and USERPROFILE. if none of these variables exist, it checks the WINDOWS directory in the system folder.

Installation: http://pecl.php.net/package/apc


Select the apc version and click dll to download the windows version.



Select the corresponding php version <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + pgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20140211/20140211085357131.jpg" alt = "\">


Decompress the package as follows:



Copy php_apc.dll to the php/ext directory.



Modify the php. ini configuration file and enable apc to add extension = php_apc.dll.



Phpinfo is as follows:



If you encounter

Unable to locate program input point ReleaseSRWLockExclusive on dynamic link library KERNEL32.dll

For example



Here is the solution


Http://www.bkjia.com/PHPjc/735891.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/735891.htmlTechArticleAPC (Alternative PHP Cache) role: for caching and optimizing PHP intermediate code extensions: do not need other extensions note: On Windows, APC will detect TMP, TEMP, USERPROFILE Windows environment...

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.