K
K
KoMPoTuK2014-03-18 10:39:50
Redis
KoMPoTuK, 2014-03-18 10:39:50

How to grant rights to Redis to a new unix user?

There is a user `petya` VirtualHost configured
in Apache

<VirtualHost>
AssignUserID petya petya
</VirtualHost>

Redis session storage specified in PHP php.ini settings When starting the site, it gives an error
session.save_path = "tcp://localhost:6379/"
PHP Fatal error:  Uncaught exception 'RedisException' with message 'Connection closed'

As I understand it, the error occurs due to insufficient rights to use Redis.
How to grant permissions for the user `petya` to manage a radish?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DDoSoloway, 2014-03-18
@DDoSoloway

under what will you issue rights? unix? ssh? web control panel?

Y
Yuri Shikanov, 2014-03-18
@dizballanze

I do not think that the error is due to insufficient rights. Does it connect normally through redis-cli?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question