装完redis扩展后,修改php.ini 增加 extension=redis.so ,无限重启php,nginx就是不起作用,查看phpinfo后 发现Loaded Configuration File 的值是none,原来php-fpm启动时,没指定php.ini,所以一直都没生效........
/usr/local/php/sbin/php-fpm -y /usr/local/php/etc/php-fpm.conf -c /usr/local/php/etc/php.ini
重启后 ok.