Home>Article>PHP Framework> What should I do if the thinkphp5 cache file cannot be written?

What should I do if the thinkphp5 cache file cannot be written?

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼 Original
2019-08-23 10:06:35 3242browse

What should I do if the thinkphp5 cache file cannot be written?

Solution to the problem that thinkphp5 cache file cannot be written:

Related recommendations: "ThinkPHP Tutorial"

(1) One situation is that the corresponding directory does not have write permission. Use the chmod command to add the w permission of the apache program.

(2) Another possible situation is that the disk space is full, use df -h to check.

The above is the detailed content of What should I do if the thinkphp5 cache file cannot be written?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn