Performance : Alternative PHP Cache (APC)
1. yum install php-pecl-apc If for some reason centosplus repo is not enabled then: 1. cd /usr/src/ 2. wget http://pecl.php.net/get/APC-3.0.19.tgz 3. tar xvzf APC-3.0.19.tgz 4. cd APC-3.0.19 5. yum install php-devel 6. yum install automake 7. yum install libtool httpd-devel* 8. /usr/bin/phpize 9. ./configure --enable-apc --enable-apc-mmap --with-apxs --with-php-config=/usr/bin/php-config 10. make 11. make install 12. ls /usr/lib64/php4/ or /usr/lib64/php/modules/ 13 #emacs /etc/php.ini extension=apc.so apc.enabled=1 apc.shm_segments=1 apc.shm_size=128 apc.ttl=7200 apc.user_ttl=7200 apc.num_files_hint=1024 apc.mmap_file_mask=/tmp/apc.XXXXXX apc.enable_cli=1