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!