Installing APC under Windows Server

Source: Internet
Author: User
Tags apc

Eaccelerator seems faster than APC, however, if you are running multiple instances of Apache on the same server, you will understand the second caching utility PHP uses. I use two APC and Eaccelerator, the APC seems to be getting better, only within the last 3 months (since 01/2006).
Note: This accelerator may become better in the near future, and it is said that the accelerator should be consolidated in the php6.x release.
The installation process is very simple installation steps:
1. Download the. dll file that corresponds to your PHP version:
APC. dll for PHP4. X
Apc.dll for PHP5. X
and rename it to Php_apc.dll.
2. Copy the Php_apc.dll into your PHP module folder, such as C:/php/extensions (PHP4. X) or C:/php/ext (PHP5. X) http://www.lengmianji.net/
3. Open php.ini. Search; Extension=php_zip.dll in this line, add
Extension=php_apc.dll
apc.enabled = 1
Apc.shm_segments = 1
Apc.shm_size = 64
apc.optimization = 0
Apc.num_files_hint = 1000
Apc.ttl = 0
Apc.gc_ttl = 3600
Apc.cache_by_default = On
Apc.slam_defense = 0
Apc.file_update_protection = 2
APC.ENABLE_CLI = 0
Apc.stat=0
4. Save the php.ini, restart your IIS or Apache. The installation is successful.

Article source Http://wenku.baidu.com/link?url= Fl9aswm80djpop8mafhsh5ojf4sqnbqlpzdjac1o-imwcwh2l-9a5xdk0-oijax7lxa6dnqexwhohm135zkseutjxdwqwyk-b-zhkf-c_aa

Install APC under Windows Server

Related Article

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.