hawrre Franz Yi-xin Well, there is a workaround for this if you want redis to handle sessions instead of PHP's default session handler.
You can simply go to your php.ini
file and search for session.save_handler
and session.save_path` and change the following to this format so that PHP will start using redis as it's session handler.
session.save_handler = redis
session.save_path = tcp://127.0.0.1:6379
I am not 100% sure whether that laravel overwrites the ini
files inside its scripts. But, if it does not, then this will work correctly.
I am just 15yr old, I may make mistake but I am 100% sure that the steps I've said above are correct because every website I handle is running under this type of configuration (includes flarum and other custom web app)
NOTE: As of now this change only makes Redis handle sessions and nothing else. If you want to cache posts and other data then there must be an extension to achieve those