求thinkcmf8.0安装方法
求thinkcmf8.0安装方法
- 在宝塔面板的文件管理器中,找到ThinkPHP项目的配置文件 config.php。编辑 config.php 文件,添加或修改Redis配置:return [ // 其他配置项 'cache' => [ 'type' => 'redis', 'host' => '127.0.0.1', 'port' => 6379, 'password' => '', // 如果设置了密码,这里填写密码 'select' => 0, // Redis数据库编号 'timeout' => 0, // 连接超时时间(秒) 'persistent' => false, // 是否长连接 ],];安装Redis PHP扩展:
根据网上教程 找不到 config.php 文件,
求教各位大佬 安装方法