分类 默认 下的文章

composer config -g repos.packagist composer https://mirrors.tencent.com/composer/  //腾讯云
composer config repo.packagist composer https://mirrors.aliyun.com/composer/   //阿里云

Content-Length mismatch, received 59879 bytes out of the expected 1472830

http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

解决方案

此时 查看一下当前项目的composer镜像

composer config -l

在这里插入图片描述

发现自己使用的镜像是中国镜像

https://packagist.phpcomposer.com

这个镜像是有问题的 所以需要更换镜像

这边需要注意的是 更换镜像不要进行全局更换的命令 而是要针对这个项目去更换镜像

所以 我们在这个项目的根目录下也就是composer.json的路径下

针对这个项目 进行更换镜像 使用阿里云镜像!

composer config repo.packagist composer https://mirrors.aliyun.com/composer/

【来源:CSDN 徊忆羽菲】https://blog.csdn.net/guo_qiangqiang/article/details/107408547

启动SVN单库

svnserve -d -r /home/svn/projest

关闭SNV服务

查到服务的进程号:
ps -A | grep svn
1597 ?        00:00:00 svnserve
关闭进程:kill 1597

有时候为了桌面简洁,对桌面的快捷方式进行搬迁。可搬迁过程中,桌面图标不见了或缺失了。这是因为桌面图标缓存的问题。这时候需要重新刷新

@echo off
taskkill /f /im explorer.exe
CD /d %userprofile%AppDataLocal
DEL IconCache.db /a
start explorer.exe
echo

新建bat文件 可以用新建文本.然后改尾缀方法 如1.txt改为1.bat 复制以上命令进去保存即可 也可通过以下附件解压

刷新桌面图标.bat

刷新桌面图标.zip

作者:猫偶尔会吃草
链接:https://www.jianshu.com/p/ec091197f741
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

解决方法:
http.conf文件添加以下代码
IndexOptions Charset=UTF-8
重启Apache

顺利解决!

【Windows环境】

这里介绍后台守护进程打开方式

start /d php think worker

【linux环境】

[debug 调试模式] ctrl+c退出或关闭会话则关闭服务

[daemon 后台守护进程] 参数后加 -d

开启workman

php think worker (这里不需要start)

停止workman

php think worker stop

重载workman

php think worker reload

重启workman

php think worker restart

查看workman状态

php think worker status

查看workman连接数

php think worker connections


开启workman服务

php think worker:server

关闭workman服务
php think worker:server stop

Workerman[start.php] start in DEBUG 调试模式 远程会话关闭则关闭

看了下thinkphp6 里面的完全手册 命令

think worker start -d (其实这里是错误的) 我一直进入都是Debug模式

正确的命令应该是: 开启 不需要再添加start

think worker -d (进入守护进程模式) 远程会话关闭继续可以链接