F
F
fashionmens2018-05-11 18:13:05
PHP
fashionmens, 2018-05-11 18:13:05

Redis on two Laravel projects on the same server how to set up?

There are two identical projects on different domains on the same server. Costs Laravel 5.4 I
install on the first Redis project - composer require predis/predis I install
the radish driver, everything works.
I clone the code into another project. But when it starts, it gives an error - Connection refused [tcp://127.0.0.1:6379]
How to properly configure Redis - so that it works separately and independently on two projects?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ivankomolin, 2018-05-17
@ivankomolin

There are several ways, the most correct of them are the following:
1. Two running instances
2. One instance, 2 different bases

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question