---
title: "Centos:PHPAPC"
author: "Hobo86"
date: "2013-06-17T14:40:38Z"
tags: ["APC", "PHP"]
categories: ["编程语言"]
slug: "centos-phpapc"
draft: false
lastmod: "2013-06-17T14:42:41Z"
id: 1840771
url: "https://hobo86.iteye.com/blog/1840771"
---

详细信息：[http://www.php.net/manual/zh/book.apc.php](http://www.php.net/manual/zh/book.apc.php)

 

安装

#yum install php-pear

#yum install php-devel

#pecl install apc

 

配置

#vi /etc/php.ini

extension="/usr/lib64/php/modules/apc.so"  
apc.enabled=1

 

查看运行状态

#cp /usr/share/pear/apc.php /root\_dir\_of\_your\_web\_app