An understanding of APC
Asynchronous Process calling (APCs) is a basic part of the NT asynchronous processing architecture. It is helpful to understand how nt operates and how to execute several core system operations.1) APCs allows user
First talk about the implementation of the PHP program process, which explains this, just to start our optimization trip.
Client (for example, browser)
-"Request Get hello.php
--The CGI server (for example, Apache) receives a request to find a
For you to introduce the relevant knowledge of PHP APC, including APC commonly used functions, APC configuration, APC advantages, and so on, a good example, the need for friends, you can refer to the next.APC Definition: APC is an open and free php
Download Address: Http://pecl.php.net/package/APC. This extended update is slow and recommends installing the latest version because some unknown bugs have been resolved by the latest version.
Install APC
Get APC:
# CD/USR/LOCAL/SRC &&wget http://
The APC method analyzes the principle of uploading multiple files in PHP. It may take a long wait time to upload multiple files. due to the impact of the network and software, the upload may often fail due to timeout. It may take a long time to
Up-to-last week I was exclusively a XCache user if we talk about PHP accelerators. Recently I needed to the use of APC with a symfony application. As Symfony offers nice APC integration it went quite smooth.
Note that just enabling PHP accelerator
Alternative PHP cache (optional PHP caching), dependent on PECL extension libraryUse the source code to install, direct Yum on the line:To install the APC dependency package first:Yum install php-pear php-devel httpd-devel pcre-devel gcc makeThen
When uploading multiple files, we may often need a long wait time, and the network and software, and so on, often have time-out and upload failure phenomenon. How to get the file upload progress in real time when uploading multiple files in PHP, and
APC Definition: APC is an open and free php opcode cache. Its goal is to provide a free, open and robust framework for caching and optimizing PHP intermediate code.
APC Common functions:
1.apc_clear_cache () Clear APC cache
APC Definition: APC is an open and free php opcode cache. Its goal is to provide a free, open and robust framework for caching and optimizing PHP intermediate code.
APC Common functions:
1.apc_clear_cache () Clear APC cache
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.