Welcome to the Linux community forum, interact with 2 million technical staff to enter the apc to install the latest APC-3.0.18.tgz, unzip, enter the directory apcpecl. php. netpackageAPCusrlocalphpbinphpize (production configure file ). Configure-enable-apc-m
Welcome to the Linux community forum, interact with 2 million technical staff> enter the apc installation of the latest APC-3.0.18.tgz, unzip, go to the apc http://pecl.php.net/package/APC/usr/local/php/bin/phpize directory (production configure file ). /Configure-enable-apc-m
Welcome to the Linux community forum and interact with 2 million technicians>
Apc installed the latest APC-3.0.18.tgz, decompress, and enter the Directory
Apc http://pecl.php.net/package/APC.
/Usr/local/php/bin/phpize (production of configure files)
. /Configure-enable-apc-mmap-with-php-config =/usr/local/bin/php-config
Make make. Install
Cp/usr/local/lib/php/extensions/no-debug-zts-20060613/apc. so/usr/local/lib/php/extensions/apc. so
Chmod 755/usr/local/lib/php/extensions/apc. so
Add/etc/php. ini to the end
Extension = apc. so
Apc. enabled = 1
Apc. cache_by_default = on
Apc. shm_segments = 1
Apc. shm_size = 128
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
Restart apache