会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
明明一颗大白菜
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
10
···
37
下一页
2021年1月25日
laravel指定表进行迁移
摘要: php artisan migrate --path=/database/migrations/single
阅读全文
posted @ 2021-01-25 10:34 明明一颗大白菜
阅读(475)
评论(0)
推荐(0)
2021年1月15日
docker安装redis并且配置密码
摘要: 一、环境配置 1、系统:centos7.3 2、docker版本:Docker version 1.13.1, build 07f3374/1.13.1 3、Redis镜像:redis:latest 二、安装部署 1、创建容器 docker run --name redis -p 6379:6379
阅读全文
posted @ 2021-01-15 10:00 明明一颗大白菜
阅读(2026)
评论(0)
推荐(0)
2021年1月14日
Laravel composer install 缺少phpfile_info,LNMP安装PHP fileinfo扩展模块
摘要: 安装PHP程序的时候,提示The fileinfo extension is required.,缺少fileinfo 扩展,因为LNmpA没有自行开启,所以需要我们手工去开启fileinfo 扩展。 方法如下:第一步:找到llnmp安装源位置: cd /lnmp1.5/src/php-5.6.9/
阅读全文
posted @ 2021-01-14 10:14 明明一颗大白菜
阅读(383)
评论(0)
推荐(0)
2020年12月23日
php根据对象属性对数组对象排序
摘要: $domain_arr=[{},{},……{}]; ###attribute是你要根据对象的什么属性排序 usort($domain_arr, function($a, $b) { return $a->attribute< $b->attribute? 1 : -1; });
阅读全文
posted @ 2020-12-23 10:15 明明一颗大白菜
阅读(1265)
评论(0)
推荐(0)
2020年12月3日
Mysql5.7及版本以上导入sql提示Incorrect date value: '0000-00-00' for column
摘要: mysql5.7以上的版本导入数据时报以上错误,原因是mysql5.7以上的版本默认不允许datetime格式的数据出现'0000-00-00'的情况。 在my.ini(windows)或者my.cnf(linux)中加入: sql_mode="NO_ZERO_IN_DATE,NO_ZERO_DAT
阅读全文
posted @ 2020-12-03 10:00 明明一颗大白菜
阅读(2230)
评论(0)
推荐(0)
webpack打包css
摘要: 1.webpack打包css的时候,需要先引进两个依赖:css-loader与style-loader使用npm或者cnpm依次安装 2.配置config,引入插件,配置如下图所示: 3.引入css(这里要注意,单纯的引入是会报错的,需要在引入路径前面加上相关的loader) 4.进行打包,即可:
阅读全文
posted @ 2020-12-03 08:28 明明一颗大白菜
阅读(218)
评论(0)
推荐(0)
2020年11月24日
ant-design-vue中的a-directory-tree更换图标
摘要: <template> <div> <a-directory-tree multiple default-expand-all @select="onSelect" :icon='getIcon' > <a-tree-node key="0-0" title="parent 0"> <a-tree-n
阅读全文
posted @ 2020-11-24 15:00 明明一颗大白菜
阅读(7202)
评论(1)
推荐(0)
2020年11月19日
解决php-fpm占用内存过高问题
摘要: 寻找到php-fpm.conf文件,然后减少一下pm.max_children ,重启php即可
阅读全文
posted @ 2020-11-19 09:48 明明一颗大白菜
阅读(736)
评论(0)
推荐(0)
2020年11月18日
centos,解压源代码安装,没有configure文件
摘要: 使用phpize创建一下即可: /usr/local/php/bin/phpize
阅读全文
posted @ 2020-11-18 19:25 明明一颗大白菜
阅读(777)
评论(0)
推荐(0)
OSS存储上遇到The difference between the request time and the current time is too large
摘要: 解决办法:linux中执行:ntpdate ntp.ubuntu.com
阅读全文
posted @ 2020-11-18 18:41 明明一颗大白菜
阅读(1013)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
37
下一页
公告
<-- -->