redis-local.php 274 B

123456789101112131415
  1. <?php
  2. return [
  3. 'class' => 'yii\redis\Connection',
  4. // 'hostname' => '192.168.3.10',
  5. // 'port' => 6379,
  6. // 'database' => 0,
  7. // 'password' => 'redis12078',
  8. 'hostname' => '127.0.0.1',
  9. 'port' => 6379,
  10. 'database' => 0,
  11. 'password' => 'redis',
  12. ];