PHP Caching with APC

apt-get install php4-dev apache-dev
pecl download apc
tar xvzf APC-x-x-x
cd APC-x-x-x
phpize
./configure --enable-apc --enable-apc-mmap --with-apxs
make
make install

codetitle. php.ini

extension=apc.so
apc.enabled=1
apc.shm_segments=1
apc.optimization=0
apc.shm_size=128
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1000
apc.enable_cli=1