php-apc 인스톨 방법이 잘 나와 있습니다.
http://baheyeldin.com/technology/linux/installing-php-apc-on-ubuntu-dapper-and-debian.html
sudo apt-get update
sudo apt-get install apache2-threaded-dev apache2-dev php5-dev php-pear make
sudo pecl install apc
echo extension=apc.so > /etc/php5/apache2/php.ini
And restart Apache :
sudo /etc/init.d/apache2 restart
----------------------------------
하지만 난 이런 결과에 봉착했는데..
/var/tmp/APC/php_apc.c:959: error: duplicate ‘static’ make: *** [php_apc.lo] Error 1
ERROR: `make' failed 난 이것을
sudo pecl install apc => sudo pecl install apc-beta
로 해결했다.
-----------------------------------------
To upgrade APC in the future, use the commands:
pecl upgrade apc
△ 업그레이드 방법