会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
执毫泼墨染青城
博客园
首页
新随笔
联系
订阅
管理
2020年11月11日
Tp6.0报错Driver [Think] not supported
摘要: 使用模板报驱动错误Driver [Think] not supported. 原因:tp6默认只能支持PHP原生模板,但配置文件config/view.php配置使用的却是Think 办法一:使用tp模板进行think-view安装composer require topthink/think-vi
阅读全文
posted @ 2020-11-11 17:15 执毫泼墨染青城
阅读(1026)
评论(0)
推荐(0)
2020年11月10日
php使用strip_tags()去除html标签仍有空白
摘要: php使用strip_tags()方法去除html有空白的解决办法 $content = '<div><br /><strong>这是一段带有html标签的文字</strong></div><div><br />文章内容文章内容文章内容文章内容文章内容</div>';$subject = strip
阅读全文
posted @ 2020-11-10 17:56 执毫泼墨染青城
阅读(142)
评论(0)
推荐(0)
2020年11月5日
mysql时间、字符串、时间戳之间的互相转换
摘要: mysql时间相关函数 1,date_format(date, format) 函数,日期格式化函数, 2,unix_timestamp() 函数,当前时间戳,可传入时间格式的参数,得到对应的时间戳 3,str_to_date(str, format) 函数,日期格式化函数 4,from_unixt
阅读全文
posted @ 2020-11-05 18:07 执毫泼墨染青城
阅读(3775)
评论(0)
推荐(0)
centos8安装php7.4
摘要: 1,配置CentOs8的yum源 vim /etc/yum.repos.d/CentOS-AppStream.repo [AppStream] name=CentOS-$releasever - AppStream baseurl=http://mirrors.aliyun.com/centos/$
阅读全文
posted @ 2020-11-05 17:13 执毫泼墨染青城
阅读(1802)
评论(0)
推荐(0)
2020年9月17日
linux 安装composer
摘要: 安装前请务必确保已经正确安装了PHP。 执行命令 php -v 查看是否正确输出php版本号。 下载安装脚本,执行命令: php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');" 下载compo
阅读全文
posted @ 2020-09-17 11:39 执毫泼墨染青城
阅读(251)
评论(0)
推荐(0)
2020年9月3日
<meta>标签常用内容
摘要: 页面mate标签常用内容1,keywords用于告诉搜索引擎网页的关键字<meta name="keywords" content="关键字1,关键字2" />2,description用于告诉搜索引擎网页的主要内容<meta name="description" content="网页的描述" /
阅读全文
posted @ 2020-09-03 11:16 执毫泼墨染青城
阅读(224)
评论(0)
推荐(0)
2020年8月18日
CentOS8 yum方式安装mysql8.0
摘要: 1,使用rpm -qa | grep mysql命令,检查系统是否已经安装了mysql,如果已经安装mysql,需要先卸载。 2,添加在线mysql源 vim /etc/yum.repos.d/mysql.repo 将下面的内容添加到mysql源 # Enable to use MySQL 8.0[
阅读全文
posted @ 2020-08-18 01:06 执毫泼墨染青城
阅读(2674)
评论(0)
推荐(0)
2020年8月17日
xshell上传下载文件
摘要: 1,查看是否安装lrzsz,下图代表没有安装 rpm -qa|grep lrzsz 2,安装lrzsz yum -y install lrzsz 安装后,再次执行命令:rpm -qa|grep lrzsz 3,上传文件,执行rz命令,会弹出选择框,选择要上传的文件 4,下载文件到本地,sz file
阅读全文
posted @ 2020-08-17 22:36 执毫泼墨染青城
阅读(171)
评论(0)
推荐(0)
CentOS8查看防火墙状态,开启/关闭防火墙
摘要: 1,查看防火墙状态 systemctl status firewalld.service 2,开启防火墙 systemctl start firewalld.service 3,关闭防火墙 systemctl stop firewalld.service 4,禁用防火墙 systemctl disa
阅读全文
posted @ 2020-08-17 00:41 执毫泼墨染青城
阅读(24132)
评论(0)
推荐(0)
2020年8月14日
CentOS8 yum方式安装nginx1.8
摘要: 本教程操作环境是CentOS8.1,nginx版本是1.18.0 护体步骤: 1,安装yum-utils,输入命令:yum install yum-utils 2,添加nginx源。CentOS8系统自带的nginx源版本是1.14,这里我们自己创建高版本的nginx源,创建文件/etc/yum/r
阅读全文
posted @ 2020-08-14 00:47 执毫泼墨染青城
阅读(4090)
评论(0)
推荐(0)
下一页
公告
点击右上角即可分享