Below you will find pages that utilize the taxonomy term “phpredis”
July 12, 2011
[教程]为PHP安装phpRedis扩展模块
"一.安装phpredis\n# wget https://download.github.com/owlient-phpredis-2.1.1-1-g90ecd17.tar.gz # tar -zxvf owlient-phpredis-2.1.1-1-g90ecd17.tar.gz # cd owlient-phpredis-2.1.1-1-g90ecd17 # /usr/local/php/bin/phpize # ./configure –with-php-config=/usr/local/php/bin/php-config # make \u0026amp;\u0026amp; make install\n修改php.ini文件,应用扩展\n# /usr/local/php/etc/php.ini 加入: extension=redis.so\n重启httpd\n# service httpd -k restart\n我这里使用的是php-fpm模块运行的Nginx\n/usr/local/php/sbin/php-fpm restart\n通过phpinfo()函数查看,可以看到redis扩展\n如果想 …"