$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install PHP APC Extension> & Enable for Apache Httpd on Elementary OS Gnu/Linux

May 21, 2015 | By the+gnu+linux+evangelist.

Enabling PHP APC for Apache on Elementary OS Linux

Hi! The Tutorial shows you Step-by-Step How to Install and Enable the Latest PHP Pecl APC Extension for the Apache Web Server on Elementary OS 0.3-Freya/0.2-Luna GNU+Linux i386/amd64 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 Elementary OS.

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 Elementary OS - Featured
  1. How to Install/Enable PECL Command on Elementary OS Linux

    Here PHP PECL Installation for Elementary OS
    Links to Installation/Enabling Guides of Latest Pecl Command for Elementary OS Distro
  2. Open a Shell Terminal Emulator Window
    Ctrl+t on Desktop
    (Press “Enter” to Execute Commands)

    Install APC Elementary OS - Open Terminal

    In case first see: Terminal QuickStart Guide.

  3. Install the Required Package:

    Copy
    sudo apt-get install libpcre3-dev

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  4. Download the Latest PHP Pecl APC Module

    Here Latest Pecl APC
    Link to Download the PHP Pecl APC Module
  5. Installing APC Extension:

    Copy
    tar xvzf APC*
    Copy
    cd APC*/
    Copy
    phpize
    Copy
    ./configure
    Copy
    make
    Copy
    sudo make install
  6. How to Install LAMP Web Environment for Elementary OS

  7. Enabling the PHP APC Extension on Apache Web Server:

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

    Append.

    on the Extensions Section:

    /nextension=apc.so;

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

  8. ReStart Apache to Load the APC Module:

    Copy
    sudo service apache2 restart
  9. Best APC SetUp for Production

    Here Fast APC SetUp
    How to Make the Best PHP APC SetUp on Productions