title: Laravel Cache does not store cache file on production server
body: <p>I have a problem with the Laravel Cache system (I use <strong>Laravel 4.1</strong>).</p>
  
  <ol>
  <li>On my <strong>local server</strong>, the "<strong>app/storage</strong>" folder where Laravel
  store cache's files is with <strong>755</strong> permission.</li>
  <li>On my <strong>production server</strong>, the <strong>same folder</strong> has the <strong>same permission</strong>
  code.</li>
  <li>On my <strong>local server</strong>, when I cache datas using the Laravel's Cache
  Class, <strong>it works</strong>. So If I go within the "<strong>app/storage</strong>" folder, I can see
  the files created.</li>
  <li>On my <strong>production server</strong>, it doesn't.. <strong>Files aren't created</strong> in
  the cache folder within "<strong>app/storage</strong>" whereas session and views
  folders (present in app/storage) has files stored. I can confirm it
  cause it always go inside my if statement using <code>has</code> method even if I put my <code>$datas</code> using the <code>put</code> method of Cache Class.</li>
  </ol>
  
  <p><strong>EDIT</strong></p>
  
  <p>
  
  <pre><code>/*
  |--------------------------------------------------------------------------
  | Default Cache Driver
  |--------------------------------------------------------------------------
  |
  | This option controls the default cache "driver" that will be used when
  | using the Caching library. Of course, you may use other drivers any
  | time you wish. This is the default when another is not specified.
  |
  | Supported: "file", "database", "apc", "memcached", "redis", "array"
  |
  */
  
  'driver' =&gt; 'file',
  
  /*
  |--------------------------------------------------------------------------
  | File Cache Location
  |--------------------------------------------------------------------------
  |
  | When using the "file" cache driver, we need a location where the cache
  | files may be stored. A sensible default has been specified, but you
  | are free to change it to any other place on disk that you desire.
  |
  */
  
  'path' =&gt; storage_path(). DIRECTORY_SEPARATOR . 'cache',
  
  /*
  |--------------------------------------------------------------------------
  | Database Cache Connection
  |--------------------------------------------------------------------------
  |
  | When using the "database" cache driver you may specify the connection
  | that should be used to store the cached items. When this option is
  | null the default database connection will be utilized for cache.
  |
  */
  
  'connection' =&gt; null,
  
  /*
  |--------------------------------------------------------------------------
  | Database Cache Table
  |--------------------------------------------------------------------------
  |
  | When using the "database" cache driver we need to know the table that
  | should be used to store the cached items. A default table name has
  | been provided but you're free to change it however you deem fit.
  |
  */
  
  'table' =&gt; 'cache',
  
  /*
  |--------------------------------------------------------------------------
  | Memcached Servers
  |--------------------------------------------------------------------------
  |
  | Now you may specify an array of your Memcached servers that should be
  | used when utilizing the Memcached cache driver. All of the servers
  | should contain a value for "host", "port", and "weight" options.
  |
  */
  
  'memcached' =&gt; array(
  
      array('host' =&gt; '127.0.0.1', 'port' =&gt; 11211, 'weight' =&gt; 100),
  
  ),
  
  /*
  |--------------------------------------------------------------------------
  | Cache Key Prefix
  |--------------------------------------------------------------------------
  |
  | When utilizing a RAM based store such as APC or Memcached, there might
  | be other applications utilizing the same cache. So, we'll specify a
  | value to get prefixed to all our keys so we can avoid collisions.
  |
  */
  
  'prefix' =&gt; 'laravel',
  </code></pre>
  
  <p>Do you have any idea about what I'm doing wrong ?</p>