Fastadmin 配置
一、本地ThinkPHP5项目-fastadmin项目搭建时,报错:No input file specified
1)、检查 .htaccess 文件,
#Apache<IfModule mod_rewrite.c>Options +FollowSymlinks -MultiviewsRewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-f# RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]# RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]# RewriteRule ^(.*)$ index.php [L,QSA]</IfModule>
#Nginx#location / {# if (!-e $request_filename){# rewrite ^(.*)$ /index.php?s=$1 last; break;# }#}
2)、检查根目录设置
(fastadmin中必须以public为根目录,
以项目目录为根目录,会报错No input file specified)
二、后台登录页面验证码无法显示
在vender/topthink/think-captcha/Captcha.php文件中找到entry()方法
修改
ob_start(); // 输出图像 imagepng($this->_image); $content = ob_get_clean(); imagedestroy($this->_image); ob_clean();//清除缓存
三、队列配置
1、配置项
(1) application/config.php中:
// Redis配置
'redis' => [
'host' => '127.0.0.1', // redis 主机地址
'password' => '', // redis 密码
'port' => 6379, // redis 端口
'select' => 1, // redis 数据库,注意此处的选择redis库。
'timeout' => 0, // redis 超时时间
'persistent' => false, // redis 持续性,连接复用
],
(2) application/extra/queue.php
return [
'connector' => 'redis',//'database'//'Sync'
'host' => '127.0.0.1', // redis 主机地址
'password' => '', // redis 密码
'port' => 6379, // redis 端口
'select' => 1, // redis 数据库,,注意此处的选择redis库。与config一致
'timeout' => 0, // redis 超时时间
'persistent' => false, // redis 持续性,连接复用
];
Fastadmin 配置相关推荐
- fastadmin+xunsearch题库系统搭建教程
fastadmin+xunsearch题库系统搭建教程 前言 一.开始整活 二.开始搭建 1.fastadmin配置 2.xunsearch服务端安装 (一).openssl的版本与libevent版 ...
- php使用addons,think addons教程
thinkphp框架配置 1.惯例配置 惯例配置目录(项目\thinkphp\convention.php) 注意:一般不要修改惯例配置 2.默认配置 应用配置目录(项目\application\co ...
- Fastadmin 阿里云Oss插件的配置
一.在阿里云后台配置Oss的Bucket 记录 accessKeyId .accessKeySecret 新建一个bucket ,权限:公共读,记录 Bucket.EndPoint .CDN地址 这三 ...
- fastadmin文件上传ucloud云插件安装配置
项目中如果有大量的文件需要被上传,为避免文件堆积,可以把上传的文件放到云端上面存储,fastadmin后台有一个自带开发插件管理,云存储-->ucloud上传,是免费的,已经能满足大多数项目的文 ...
- fastadmin Tinymce编辑器配置首行缩进
记录:使用fastadmin 的免费插件Tinymce富文本编辑器时,设置首行缩进. 一.找到插件js位置并打开 文件位置:addons\tinymce\bootstrap.js,bootstrapB ...
- Fastadmin管理Mysql_FastAdmin-CMS模版制作(6)-正式部署
一.工具信息介绍 (1)服务器系统:CentOS7.2 64位系统: (2)服务器面板:宝塔,官网地址:https://www.bt.cn/: (3)PHP7.2: (4)mysql5.6: (5)N ...
- Fastadmin笔记
一)安装 源码安装: 1.下载FastAdmin完整包解压到你本地 https://gitee.com/karson/fastadmin/attach_files 2.将你的虚拟主机绑定到/fasta ...
- FastAdmin 极速后台管理框架(三周年)V1.0.0.20190410_beta
开发四年只会写业务代码,分布式高并发都不会还做程序员? >>> FastAdmin 极速后台框架(三周年)V1.0.0.20190410_beta FastAdmin 三周岁了, ...
- 手把手教你安装 FastAdmin 到虚拟主机 (phpStudy)
手把手教你安装 FastAdmin 到虚拟主机 (phpStudy) 原文: https://forum.fastadmin.net/thread/2524 下载 FastAdmin 下载 FastA ...
最新文章
- Python生成随机五位数——模仿手机验证码
- 试除法的妙用【O(√N) 复杂度】
- oracle数据类型查询,Oracle 空间查询, 数据类型为 sdo_geometry
- 吴恩达机器学习(第五章)——Logistic回归
- GitHub 上 6 款牛哄哄的后台模板
- 使用 cx recipe 安装 Hybris Commerce Cloud 之后,遇到 indexer workder failed 错误
- 做.NET开发多年,公司要我转Java...
- Ajax——php基础知识(二)
- AngularJS中的表单验证机制
- D3D自定义的设备丢失对象
- 使用 Pig 进行数据分析
- FTP+SSL(加密的ftp)
- java 单例 初始化_单例数据库对象启动时参数化初始化?
- TIA 和step 7硬件更新网址汇总
- 中国科学院国家授时中心
- 人工智能 2 级就来越塔来杀我,论文已被NeurIPS收录!
- 22年字节跳动飞书人力套件二面面经
- linux鼠标切换窗口的快捷键设置,Xshell中如何设置鼠标快捷键
- Android 自定义控件之画篮球
- linux必须root权限才能mount,root执行/media可执行文件权限不够,chmod修改权限无效...