Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jun 022009

How to compile APC module for PHP


The following steps works in RHEL/CentOS

1. Download the latest APC from PECL


2. Extract the APC source package and compile/install it

tar -xvf APC
cd APC-X.X.X (replace with your downloaded version)
make && make install

3. Enable APC in PHP configuration

echo "" > /etc/php.d/apc.ini

4. Restart the httpd and use phpinfo() to verify if APC is running

  One Response to “How to compile APC module for PHP”

  1. [...] also: Compile/Install APC on RedHat/CentOS/Fedora Linux Share and [...]

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>