Last active
August 29, 2015 14:05
-
-
Save dodyagung/58a80d95eb8777b588b7 to your computer and use it in GitHub Desktop.
Install PHP-FPM + APC on Centos 6.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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