1. 程式人生 > >php-redis擴展

php-redis擴展

config all .so make figure system php-redis redis redis擴展

$ wget http://pecl.php.net/get/redis-3.1.3.tgz $ tar -zxvf redis-3.1.3.tgz $ cd redis-3.1.3.tgz $ /opt/php/bin/phpize $ ./configure --with-php-config=/opt/php/bin/php-config $ make && make install $ vim /opt/php/lib/php.ini -----add begain--------- [redis] extension="redis.so" systemctl restart php-fpm

php-redis擴展