会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
友 点胡说八道
武 用武之地
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
40
下一页
2022年3月13日
composer报错Installation failed, reverting ./composer.json to its original content
摘要: 执行即可 composer dump-autoload composer update 再重新执行下载命令
阅读全文
posted @ 2022-03-13 22:08 zhang_you_wu
阅读(326)
评论(0)
推荐(0)
2022年3月3日
Linux向github添加公钥
摘要: 1.生成公钥 ssh-keygen -t rsa -b 4096 -C "xxx@163.com" -f xxx//-f 后面是秘钥文件名称,生成多个的话可以用不同名称区分 2. 接着会提示这个公钥私钥的保存路径-建议直接回车就好(默认目录里) 接着提示输入私钥密码passphrase - 如果不想
阅读全文
posted @ 2022-03-03 15:44 zhang_you_wu
阅读(373)
评论(0)
推荐(0)
vim 操作指令
摘要: u:撤销上一步的操作 ctrl+r:将原来的撤销重做一遍 U:恢复一整行原来的面貌(文本打开时的状态) :wq 保存退出 :e! 放弃修改,重新回到文件打开时的状态
阅读全文
posted @ 2022-03-03 15:32 zhang_you_wu
阅读(32)
评论(0)
推荐(0)
2022年3月2日
tp5报错strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the cu
摘要: 错误原因 PHP7.3版本影响 解决办法 1.换PHP版本 2. $nullOffset = strpos($url, 0x00);//替换前 $nullOffset = strpos($url, chr(0x00));//替换后
阅读全文
posted @ 2022-03-02 11:44 zhang_you_wu
阅读(1892)
评论(0)
推荐(0)
tp5出现“continue“ targeting switch is equivalent to “break“. Did you mean to use “continue 2“?错误解决方法
摘要: 错误原因 PHP7.3版本导致 解决方法: 1.换PHP版本 2.把continue改成break
阅读全文
posted @ 2022-03-02 11:38 zhang_you_wu
阅读(1044)
评论(0)
推荐(0)
2022年2月25日
Git 提示fatal: remote origin already exists 错误解决办法
摘要: Git 提示fatal: remote origin already exists 错误解决办法 1、先删除远程 Git 仓库 $ git remote rm origin 2.再重新添加远程 Git 仓库 $ git remote add xxxxxxxx
阅读全文
posted @ 2022-02-25 16:54 zhang_you_wu
阅读(116)
评论(0)
推荐(0)
PHP获取文件信息
摘要: PHP获取文件信息 $file_url=ROOT_PATH."public".$params['url_image'];//1.getimagesize $file_info=getimagesize($file_url);//获取文件详情 Array ( [0] => 290 [1] => 69
阅读全文
posted @ 2022-02-25 15:42 zhang_you_wu
阅读(581)
评论(0)
推荐(0)
2022年2月23日
php将反斜杠'\'替换为正斜杠'/'
摘要: php将反斜杠'\'替换为正斜杠'/'的方法 替换后的字符串=str_replace('\\', '/', 替换前的字符串);
阅读全文
posted @ 2022-02-23 20:53 zhang_you_wu
阅读(1005)
评论(0)
推荐(0)
2022年2月21日
OpenSSL SSL_read: Connection was reset, errno 10054
摘要: 这是服务器的SSL证书没有经过第三方机构的签署,所以报错。 解决办法: git config --global http.sslVerify "false" 或者在git配置文件中 [http] sslverify = false [https] sslverify = false
阅读全文
posted @ 2022-02-21 16:30 zhang_you_wu
阅读(299)
评论(0)
推荐(0)
2022年2月12日
woff/woff2字体404找不到
摘要: 服务器上明明放了字体文件,却报404错误 在MIME类型中加上以下两条即可 .woff application/x-font-woff .woff2 application/x-font-woff
阅读全文
posted @ 2022-02-12 23:18 zhang_you_wu
阅读(67)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
···
40
下一页
公告