Installing PHP APC for Performance on Fedora/CentOS using Yum in 5 Steps
- Install basic packages:
yum install php-pear php-devel httpd-devel
- Install APC using pear. This is important: When the installer asks about APXS, say ‘no’.
- Tell PHP to load APC:
echo extension=apc.so > /etc/php.d/apc.ini
- Restart Apache:
service httpd graceful
- Check if APC is correctly installed
php -i | grep apc
- Log in to post comments