How-to Install PHP APC Extension> & Enable for Apache Httpd on Ubuntu 15.04 Vivid 32-64bit GNU/Linux

May 21st, 2015 by thelinuxevangelist

Enabling PHP APC for Apache on Ubuntu 15.04 Vivid Linux

The Linux Tutorial Shows You Step-by-Step How-to Install and Enable the Latest PHP Pecl APC Extension for the Apache Web Server on Ubuntu 15.04 Vivid Vervet GNU+Linux i386/amd64 Server/Desktop.

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

To the Article Top there is a Link to Guide on How-to Enable the Needed PECL Command for Ubuntu Linux.

The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.

APC is a framework that caches the output of the PHP bytecode compiler in shared memory, thus Reducing Parsing and Disk I/O overhead for later requests; and a shared memory cache for user data.

Install APC Ubuntu 15.04 Vivid - Featured
  1. How-to Install/Enable PECL Command on Ubuntu Linux:

    PHP PECL Installation for Ubuntu
  2. Open a Shell Session
    Ctrl+t on Desktop
    (Press “Enter” to Execute Commands)

    Install APC Ubuntu 15.04 Vivid - Open Terminal
  3. Install the Required Package:

    sudo apt-get install libpcre3-dev

    If Got “User is Not in Sudoers file” then Look: Solution

  4. Download the Latest PHP Pecl APC Module:

    Latest Pecl APC
  5. Installing APC Extension:

    tar xvzf APC*
    cd APC*/
    sudo make
    sudo make install
  6. Enabling the PHP APC Extension for Apache Web Server:

    sudo nano /etc/php5/apache2/php.ini


    on the Extensions Section:;

    Ctrl+x to Save & Exit from the nano Editor :)

  7. ReStart Apache to Load the APC Module:

    sudo service apache2 restart
  8. Best APC SetUp for Production:

    Fast APC SetUp
Share on Tumblr

Tags: , , , , , , , , , , , , , , , , , , , , , ,

Comments are disabled