Home > Backend Development > PHP Tutorial > laravel5.1 - What is the default in the redis configuration in laravel queue.php?

laravel5.1 - What is the default in the redis configuration in laravel queue.php?

WBOY
Release: 2016-07-06 13:53:14
Original
1085 people have browsed it

laravel5.1 - What is the default in the redis configuration in laravel queue.php?

Which configuration does connection refer to?

Reply content:

laravel5.1 - What is the default in the redis configuration in laravel queue.php?

Which configuration does connection refer to?

laravel5.1 - What is the default in the redis configuration in laravel queue.php?

https://laravel.com/docs/5.2/redis, take a look at the manual

In the database.php configuration file:

<code>    'redis' => [

        'cluster' => false,

        'default' => [
            'host'     => '127.0.0.1',
            'port'     => 6379,
            'database' => 0,
        ],

    ],</code>
Copy after login
Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template