web analytics

APC in cpanel server

Version Installed – APC-3.1.9

  1. cd /usr/local/src

  2. wget http://pecl.php.net/get/APC-3.1.9.tgz

  3. tar -zxvf APC-3.1.9.tgz

  4. cd APC-3.1.9

  5. phpize

  6. ./configure –enable-apc –enable-apc-mmap –with-apxs –with-php-config=/usr/local/bin/php-config

  7. make

  8. make test

  9. make install

  10. Now, enable the apc module in php.ini

vi /usr/local/lib/php.ini

Add the following lines to it.


  1. Now restart apache for the changes to get into effect

/etc/rc.d/init.d/httpd restart

One comment to APC in cpanel server

  • Marquitta Placke  says:

    Excellent article! We are linking to this great content on our website.
    Keep up the good writing.

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=""> <s> <strike> <strong>