install apc for php

cd to where you dearchived the sourcecode files for apc

export PHP_PREFIX="/opt/php" #where /opt/php is where you have php installed
$PHP_PREFIX/bin/phpize
./configure --with-php-config=$PHP_PREFIX/bin/php-config
make
make install

add in php.ini the reference to the new extension that was copied inside extension folder
restart apache