清除缓存文件clear
如果需要清除应用的缓存文件,可以使用下面的命令:
php think clear
不带任何参数调用clear
命令的话,会清除runtime
目录(包括模板缓存、日志文件及其子目录)下面的所有的文件,但会保留目录。
如果不需要保留空目录,可以使用
php think clear --dir
清除日志目录
php think clear --log
清除日志目录并删除空目录
php think clear --log --dir
清除数据缓存目录
php think clear --cache
复制
清除数据缓存目录并删除空目录
php think clear --cache --dir
如果需要清除某个指定目录下面的文件,可以使用:
php think clear --path d:wwwtpruntimelog
本作品(图文、音视频)由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系 yu.jianchun@qq.com
相关推荐
-
2023年中国中医院综合实力排行榜单:北京上榜多,江苏省中医排第三
2023年中国中医院综合实力排行榜单 1.中国中医科学院西苑医院 这是一所于1955年12月创办在北京的三级甲等医院,由北京市中医管理局主管,是一所设立了心血管科、老年病科、血液科…
-
前男友将你当后座的主要表现 犯贱想联系前任怎么办?
梦见和前任有个好备胎,应该是每个人都不想成为的真实身份。想联系前任怎么办?但有时我们会纠结备胎的真实身份。那么,分手后,如果我们找了一个很复杂的前男友,但是前男友前约吃饭,说明我们…
-
WordPress 支持 WebP格式图片上传方法
WebP 简介 WebP(发音:weppy)是一种同时提供了有损压缩与无损压缩(可逆压缩)的图片文件格式,派生自影像编码格式VP8,被认为是WebM多媒体格式的姊妹项目,是由Goo…
-
aj33和aj33se区别
aj33和aj33se最大的不同就是功能的差别。如果想要外形好看,可以选择aj33,独特的fastfit设计使得aj33看起来时尚酷炫。如果想实用,就选aj33se,aj33se更…
-
中国的道教名山有哪些?中国十大道教名山?
武当山:中国“四大道教名山”之首。山间主要景点有金殿、紫霄宫、遇真宫、复真观、天乙真庆宫等近百处。 青城山:道教发祥地之一,相传东汉张道陵曾在此创立五斗米道,著名的有建福宫、天师洞…
-
跟女孩打电话如何解决?和女孩子打电话技巧
不知道是不是男生女生之间打电话总会让气氛尴尬?怎么解决给女生打电话的问题?你不是没有准备,只是不知道如何在短时间内打开女生方便的大门。这里有一些和女生电话聊天的小技巧! 在电话上和…
-
OFD文件是什么怎么打开
OFD版式文档与pdf文件相仿,同属版式文档。具有格式独立、版面固定、固化呈现等特点。可以说OFD是中国版的PDF。目前OFD也逐渐开始在电子发票、电子公文、电子证照等等的领域中应…
-
两个人三观不合的表现 四种表现体现三观不合
00-1010两个人的不合在于没有共同话题。两个人独处的时候,会有特别尴尬的气氛。谁也不能先发言,否则一方发言,另一方就会被打断。或者说,当一方过得很开心的时候,另一方却很平淡。无…