搜索结果

Cache

PHP脚本运行Redis的前置操作和一些基本命令

1243

Chiliast整理于2017年3月,首次发表在爱代码博客 http://www.icodes.cc1.复制php_igbinary.dll,php_redis.dll文件到php目录下的ext(扩展)目录下 2.打开php.ini配置文件,搜索extension,在

Cache

laravel控制器加载视图时设置临时缓存

865

有时候,你可能会想从缓存中取出一个变量,但也想在将要取出的变量不存在时存入一个默认值,例如,你可能会想从缓存中取出所有用户,当找不到用户时,从数据库中将这些用户取出并放入缓存中,你可以使用 Cache::remember 方法达到目的:$value =&nbs

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 81: file_put_contents(): Only 0 of 274 bytes written, possibly out of free disk space

  1. in Filesystem.php line 81
  2. at HandleExceptions->handleError('2', 'file_put_contents(): Only 0 of 274 bytes written, possibly out of free disk space', '/data/home/qxu1649280102/htdocs/local/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', '81', array('path' => '/data/home/qxu1649280102/htdocs/local/storage/framework/sessions/ce85a043428b1e2cd422cd2f7e9f191fdea4f0b1', 'contents' => 'a:4:{s:6:"_token";s:40:"qyYBQ6eRER3sedmv93DLgUOEeW40R92aQX1Ec062";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544018";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822448;s:1:"c";i:1542822448;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
  3. at file_put_contents('/data/home/qxu1649280102/htdocs/local/storage/framework/sessions/ce85a043428b1e2cd422cd2f7e9f191fdea4f0b1', 'a:4:{s:6:"_token";s:40:"qyYBQ6eRER3sedmv93DLgUOEeW40R92aQX1Ec062";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544018";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822448;s:1:"c";i:1542822448;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', '2') in Filesystem.php line 81
  4. at Filesystem->put('/data/home/qxu1649280102/htdocs/local/storage/framework/sessions/ce85a043428b1e2cd422cd2f7e9f191fdea4f0b1', 'a:4:{s:6:"_token";s:40:"qyYBQ6eRER3sedmv93DLgUOEeW40R92aQX1Ec062";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544018";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822448;s:1:"c";i:1542822448;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true) in FileSessionHandler.php line 83
  5. at FileSessionHandler->write('ce85a043428b1e2cd422cd2f7e9f191fdea4f0b1', 'a:4:{s:6:"_token";s:40:"qyYBQ6eRER3sedmv93DLgUOEeW40R92aQX1Ec062";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544018";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822448;s:1:"c";i:1542822448;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}') in Store.php line 262
  6. at Store->save() in StartSession.php line 88
  7. at StartSession->terminate(object(Request), object(Response)) in Kernel.php line 145
  8. at Kernel->terminate(object(Request), object(Response)) in index.php line 60