install: Redis socket consistent across all three configs + clearer step 3 check
config.php.example defaulted to /run/redis/redis.sock while the dedicated Redis instance (step 3) and svxdr.json.example use /run/redis-svxportal/redis.sock — a beginner copying the example got a 500 on login. All three now point at the one dedicated socket; step 3 notes it and labels the check.
This commit is contained in:
1 parent
742f9d46dc
commit
b209d07189
2 files changed
+6
-2
No files matched your search
+5
-1
@@ -144,12 +144,16 @@ in that group:
|
||||
sudo usermod -aG redis www-data
|
||||
```
|
||||
|
||||
Test:
|
||||
> **✓ Check:** the socket answers with the password from this step:
|
||||
|
||||
```bash
|
||||
redis-cli -s /run/redis-svxportal/redis.sock -a 'PASTE-THE-VALUE-HERE' ping # -> PONG
|
||||
```
|
||||
|
||||
Both `auth/config.php` (step 5) and `svxdr.json` (step 9) point at this one
|
||||
socket `/run/redis-svxportal/redis.sock` — the example files already do, so you
|
||||
only paste the password into them.
|
||||
|
||||
## 4. PHP-FPM
|
||||
|
||||
Two pools are used. The default pool (`www`) handles all normal pages. A
|
||||
|
||||
@@ -3,7 +3,7 @@ declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'redis' => [
|
||||
'unix_socket' => '/run/redis/redis.sock',
|
||||
'unix_socket' => '/run/redis-svxportal/redis.sock',
|
||||
'password' => 'CHANGEME',
|
||||
'host' => '127.0.0.1',
|
||||
'port' => 6379,
|
||||
|
||||
Reference in new issue
Block a user