Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to clean up phpcms cache files

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Today, I will talk to you about how to clean up phpcms cache files, which may not be well understood by many people. In order to make you understand better, the editor has summarized the following for you. I hope you can get something from this article.

Phpcms cleans up cache files by first finding "/ search/data/news", then deleting generated cache files, then emptying the "phpcms_search" data table, and finally updating searchid to 0 and updating URL.

Phpcms clears the cache and rebuilds the index method

Phpcms search cannot regenerate the cache problem

The problem that has been entangled all the time has been solved.

The search cache cannot be generated in different environments, and my solution is:

Step 1: delete the generated cache file

Path: / search/data/news

Tip: if there are many folders under / search/data/, delete them all.

Step 2: clear the phpcms_search data table

Execute SQL statement: truncate phpcms_search

Step 3: update searchid to 0

Execute SQL statement: update phpcms_content set searchid='0'

Final step: update URL

Background content management = "generate HTML=" update URL

After reading the above, do you have any further understanding of how to clean up phpcms cache files? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report