Skip to content

Instantly share code, notes, and snippets.

@tayhimself
Created May 9, 2014 19:15
Show Gist options
  • Save tayhimself/15b92d12d5a7254b8599 to your computer and use it in GitHub Desktop.
Save tayhimself/15b92d12d5a7254b8599 to your computer and use it in GitHub Desktop.
# CentOS 6.5 APC guide from http://www.tecmint.com/install-apc-alternative-php-cache-in-rhel-centos-fedora/
# php v 5.3.3
yum install php-pear php-devel httpd-devel pcre-devel gcc make
pecl install apc
# Add the extension to apc.ini
echo "extension=apc.so" > /etc/php.d/apc.ini
service httpd restart
# Run phpinfo() to check inthat the installation worked ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment