Skip to content

Instantly share code, notes, and snippets.

@dodyagung
Last active August 29, 2015 14:05
Show Gist options
  • Save dodyagung/58a80d95eb8777b588b7 to your computer and use it in GitHub Desktop.
Save dodyagung/58a80d95eb8777b588b7 to your computer and use it in GitHub Desktop.
Install PHP-FPM + APC on Centos 6.5
rpm -Uvh http://kartolo.sby.datautama.net.id/EPEL/6/i386/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum update
yum install php-fpm php-mysql php-pecl-apc php-mcrypt --enablerepo=remi,epel
vi /etc/php.ini
cgi.fix_pathinfo=0
vi /etc/php-fpm.d/www.conf
user = nginx
group = nginx
chkconfig --levels 235 php-fpm on
service php-fpm restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment