Linux Ubuntu How to Install PHP APC Easy Visual Guide

July 12, 2013 | By Duchateaux.

This Short Guide shows you Step-by-Step How to Install and Enable the Latest PHP Pecl APC Module for Ubuntu i386/amd64 Server/Desktop.

The Best Way to Install the APC Module is to Provide Directly to Download, Compile and Install the Latest Pecl APC Release.

To the Article Top there is a Link to Enabling the PECL Command on Ubuntu Linux.

PHP 5.6 Installation in Ubuntu 22.04 – Step-by-step
  1. How to Install/Enable PECL Command on Ubuntu Linux

    PHP PECL for Ubuntu
  2. Open Terminal Window
    (Press “Enter” to Execute Commands).

    Or Login into Server Shell…

    Ubuntu Linux12 Open Terminal

    In case first see: Terminal QuickStart Guide.

  3. Install the Required Package:

    sudo su
    apt-get install libpcre3-dev
  4. Download the Latest PHP Pecl APC Module

    Latest Pecl APC
  5. Installing APC:

    tar xvzf APC*
    cd APC*/
    phpize
    ./configure
    make
    make install
    make test
  6. Enabling the PHP APC Module:

    nano </path/2>/php.ini

    Insert or UnComment a Line Containing:

    /nextension=apc.so;

    Ctrl+x to Save & Exit.

  7. ReStart Apache to Load the APC Module:

    service apache2 restart
  8. Best APC SetUp for Production

    Fastest APC SetUp

QuickChic Theme • Powered by WordPress