server CentOS 6 PHP 5.3 - APC(Alternative PHP Cache) 3.1.9
2012.04.15 10:08
설치
# 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";
관련문서
댓글 0
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
61 | 간단하고 강력한 xe 보안 향상 | 2014.11.08 | 1866 |
60 | mysql DELETE 쿼리 사용할 때 실제로 rows 삭제가 발생했는지 알 수 있는가? | 2023.06.21 | 2091 |
59 | XE Core 최적화 - html/js/css | 2014.11.07 | 2170 |
58 | [뻘글] 컴퓨터의 언어와 사람의 기억법 | 2014.06.24 | 2214 |
57 | 접속하기전에.. | 2011.04.01 | 2342 |
56 | netdata 이용한 centos 모니터링 | 2020.01.25 | 2349 |
55 | 스패머 알려주는 사이트 | 2014.09.11 | 2447 |
54 | 75mb 페이지에 lazy load 적용해보기 | 2014.09.03 | 2607 |
53 | date — 로컬 날짜/시간을 형식화합니다 | 2014.07.03 | 2610 |
52 | 마인크래프트 다운로드 v1.4 | 2011.04.01 | 3371 |
51 | 네이버 드래그, 마우스 우클릭 방지 해제 | 2010.07.25 | 3621 |
50 | 브라우저, 문서 높이 구하기 | 2010.08.17 | 3947 |
49 | 포커스 요소의 테두리와 웹 접근성 | 2010.05.23 | 4182 |
48 | Table 태그 | 2010.05.23 | 4443 |
47 | php 현재 시각 출력하기 | 2010.05.17 | 4459 |
46 | 서식문자 출력 대상(자료형) 출력 형태 | 2014.04.06 | 4479 |
45 | php 에서 파일 권한 설정 | 2010.05.21 | 4594 |
44 | jQuery 쿠키 | 2010.05.19 | 5021 |
43 | list-style | 2010.05.21 | 5155 |
42 | 파일 불러오기 | 2010.05.17 | 5475 |