설치

# tar xvfz APC-3.1.9.tgz
# cd APC-3.1.9
# /usr/local/php/bin/phpize
# ./configure --enable-apc --enable-apc-mmap --with-apxs --with-php-config=/usr/local/php/bin/php-config
# make && make install
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-zts-20100525/ 
Installing header files: /usr/local/php/include/php/
# vi /usr/local/php/lib/php.ini
	extension="apc.so"
	apc.enabled=1
	apc.shm_segments=1
	apc.shm_size=128M ; 튜토리얼에는 128값을 권장하는데, M을 빠뜨리면 제 경우 쉬지않고 error_log 찍어냈습니다.
	apc.ttl=7200
	apc.user_ttl=7200
	apc.num_files_hint=1024
	apc.mmap_file_mask="/tmp/apc.XXXXXX"
	apc.enable_cli=1
# /usr/local/apache/bin/apachectl restart

XE 1.5에서 APC만을 위한 설정이 있지만 아직은 간혹 문제가 있습니다. (현재 Core 최신버전 1.5.2.2)

files/config/db.config.inc
	$db_info->use_object_cache = "apc";
	$db_info->use_template_cache = "apc";

관련문서

번호 제목 날짜 조회 수
31 CentOS 6 - Apache 2.4.1 컴파일 / 보안 설정 [1] 2012.04.15 30240
30 CentOS 6 - MySQL 5.5 설치 [1] file 2012.04.15 21717
29 Lighttpd 설치 file 2010.05.11 20679
28 sAPM file 2010.05.12 20261
27 php + ssh2 file 2010.06.05 20199
26 Zend Optimizer + eAccelerator + Suhosin file 2010.05.11 18249
25 MySQL 설치 file 2010.05.11 17280
24 Apache 설치 file 2010.05.11 16658
23 PHP 설치 file 2010.05.11 15057
22 CentOS 6 - PHP 5.3.10 컴파일 / 보안 [1] 2012.04.15 14286
21 vmware workstation performance tips [2] 2013.10.25 13943
20 Apache Module mod_ratelimit (아파치 트래픽 제한) file 2012.05.11 13682
19 자동 백업 / 삭제 (data + mysql) [1] 2012.04.15 13586
» CentOS 6 PHP 5.3 - APC(Alternative PHP Cache) 3.1.9 2012.04.15 11369
17 스패머 알려주는 사이트 2014.09.11 2447
16 netdata 이용한 centos 모니터링 2020.01.25 2346
15 간단하고 강력한 xe 보안 향상 2014.11.08 1866
14 yum install latest redis file 2019.03.27 1682
13 certbot apache multiple domain 2019.04.10 1416
12 yum install mariadb [2] 2018.10.10 1143