[2] ErrorException in File.php line 152

file_put_contents(C:\zhan\mascaiwu_xin\caches\cache\aa\6c4ce6cbcb330f7a953e68e9424a83.php): failed to open stream: Permission denied

  1. if ($this->tag && !is_file($filename)) {
  2. $first = true;
  3. }
  4. $data = serialize($value);
  5. if ($this->options['data_compress'] && function_exists('gzcompress')) {
  6. //数据压缩
  7. $data = gzcompress($data, 3);
  8. }
  9. $data = "<?php\n//" . sprintf('%012d', $expire) . $data . "\n?>";
  10. $result = file_put_contents($filename, $data);
  11. if ($result) {
  12. isset($first) && $this->setTagItem($filename);
  13. clearstatcache();
  14. return true;
  15. } else {
  16. return false;
  17. }
  18. }

Exception Datas

Error Context
name urllist
value []
expire 7200
filename C:\zhan\mascaiwu_xin\caches\cache\aa\6c4ce6cbcb330f7a953e68e9424a83.php
data <?php //000000007200a:0:{} ?>