title: Laravel 5.2 multiple file_get_contents() not working on prod
body: <p>I have a form which accepts multiple images (logo, cover, thumbnail) in different sections of the form. I'm trying to upload these to Amazon s3. In my controller:</p>
  
  <pre><code>public function store(Request $request){
  
    Storage::disk('s3')-&gt;put(
      $request-&gt;user()-&gt;id.'/thumbnail.png',
      file_get_contents($request-&gt;file('thumbnail')),
      'public'
    );
    Storage::disk('s3')-&gt;put(
      $request-&gt;user()-&gt;id.'/cover.png',
      file_get_contents($request-&gt;file('cover')),
      'public'
    );
    Storage::disk('s3')-&gt;put(
      $request-&gt;user()-&gt;id.'/logo.png',
      file_get_contents($request-&gt;file('logo')),
      'public'
    );
  
  }
  </code></pre>
  
  <p>I'm able to upload and fetch URL of this uploaded image on localhost but i get <strong>"file_get_contents: filename cannot be empty error"</strong> on production which is an Amazon linux instance with LAMP. What am i doing wrong?</p>