Forge installs Redis by default. From the Forge landing page https://cl.ly/e18a06cfb6e1
Dec 12, 2018
11
Level 41
Laravel Forge + Redis
How does Laravel Forge use Redis?
I've found redis-server and redis-tools installed via apt:
apt list --installed
...
redis-server/bionic,now 5:5.0.2-3chl1~bionic1 amd64 [installed]
redis-tools/bionic,now 5:5.0.2-3chl1~bionic1 amd64 [installed,automatic]
But I can't find redis php extension installed, neither in php -m, nor in php -i.
However, I've checked - it works somehow.
Also, does anyone know - Laravel Forge pre-install PhpRedis by default or not?
(Probably not because it should be seen in php -m and php -i as well?)
Level 4
@DMITRY.G.IVANOV - You can either use the redis PHP extension or predis (https://github.com/nrk/predis) Laravel supports both, so Forge lets you decide what you want.
3 likes
Please or to participate in this conversation.