Solution to PHP cache file writing failure: 1. Close or recycle the process pool; 2. Delete or clear all the files in the CACHE of the program directory; 3. Set the CACHE directory to 777 writable. read.
Solution to PHP cache file writing failure:
Generally PHP is prone to prompt this kind of problem, if If ASP prompts, it means that the ASP database is being occupied. You only need to close or recycle the process pool and it will be normal.
1: Just recycle the process pool first to see if it can be solved. If you don’t have the ability, you can ask the space provider or website builder to help.
2:/alidata/www/richpr/Home/Runtime/Cache/50816cee56615ea0744a5bfe4b7d7fea.php
prompts something like this, just delete or clear all the files in the CACHE of the program directory, can be restored.
3: If it is a LIUNX server, just set the CACHE directory to 777 writable and readable.
4:Thinktemplate.class.php
File problem can be solved by re-downloading this program from the official website and overwriting the file.
There are still many PHP reports of such problems. We suggest that everyone try them according to their own problems. If you still can't operate it, search online to see if there is a more suitable method. It is best to add in front of the question. Use your own program to search, which will be more accurate.
Related learning recommendations: PHP programming from entry to proficiency
The above is the detailed content of What should I do if the writing of the php cache file fails?. For more information, please follow other related articles on the PHP Chinese website!