The TP5 framework uses redis cache, which is explained in detail

When you're lonely, you'll be accompanied by a dog 2022-02-13 06:25:47 阅读数:730

tp5 tp framework uses redis

1. Xiaopi configuration download redis Environmental Science

1. Open Xiaopi Software , Select software management to find redis download ,

2. Find the website domain name , Click manage to select PHP Expand , Choose redis

3. Start on the home page redis, And view the configuration

Usually we start in a small skin redis after , Check whether the configuration parameters are correct , Passwords are generally not set ,IP The address is local IP: Port number :6379;

2,tp5 Frame configuration redis

1. open tp5 The official manual , Under cache, find using multiple cache types

Paste the following code into tp frame config The following cache settings

// Switch to redis operation

copyright:author[When you're lonely, you'll be accompanied by a dog],Please bring the original link to reprint, thank you.