Redhat: page 1
Installing via the pecl command can be a pain on Redhat. First off all you will need to install the php-devel package: yum install php-devel Then you will need ensure that the PEAR/PECL installer is at the latest version so as root run: pear channel-update pear.php.net pear upgrade pear You may need to force pear to upgrade itself by using: pear upgrade –force pear I had to use the –force option because my version of PEAR was so old that the installer thought my version of Tar_Archive might not have been up to muster. Read more ⇒
Installing APC and Memcached for PHP Sessions on Redhat
Installing APC on Redhat is as simple as: [user@server directory]# yum install php-pecl-apc APC should now be ready to run on your server. Try running the following command to verify it is setup; you should get something in response like mine: [user@server directory]# php -r ‘phpinfo();’ | grep ‘apc’ apc MMAP File Mask => /tmp/apc.s5jA6w apc.cache_by_default => On => On apc.coredump_unmap => Off => Off apc.enable_cli => On => On apc. Read more ⇒