1-.sudo apt-get remove php-apc php5-apc 2-.sudo apt-get install php5-dev make php-pear apache2-prefork-dev libpcre3-dev 3-.sudo pecl install apc –with-apxs=’/usr/bin/apxs2′ 4-.su 5-.echo ‘extension=apc.so’ > ‘/etc/php5/conf.d/apc.ini’ 6-./etc/init.d/apache2 stop 7-./etc/init.d/apache2 start 8-.exit && exit