{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/issues/27","labels_url":"https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/issues/27/comments","events_url":"https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/issues/27/events","html_url":"https://github.com/thephpleague/flysystem-aws-s3-v3/issues/27","id":87020074,"number":27,"title":"S3Exception in WrappedHttpHandler.php line 162 when using Storage::put();","user":{"login":"EwanValentine","id":1155123,"avatar_url":"https://avatars.githubusercontent.com/u/1155123?v=3","gravatar_id":"","url":"https://api.github.com/users/EwanValentine","html_url":"https://github.com/EwanValentine","followers_url":"https://api.github.com/users/EwanValentine/followers","following_url":"https://api.github.com/users/EwanValentine/following{/other_user}","gists_url":"https://api.github.com/users/EwanValentine/gists{/gist_id}","starred_url":"https://api.github.com/users/EwanValentine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EwanValentine/subscriptions","organizations_url":"https://api.github.com/users/EwanValentine/orgs","repos_url":"https://api.github.com/users/EwanValentine/repos","events_url":"https://api.github.com/users/EwanValentine/events{/privacy}","received_events_url":"https://api.github.com/users/EwanValentine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-10T16:05:56Z","updated_at":"2015-06-11T08:13:05Z","closed_at":"2015-06-11T08:10:43Z","body":"I'm just having a snag with the Storage facade in Laravel 5.1 when using S3.\r\n\r\nI have the following code in a controller:\r\n\r\n```\r\n    $file = $request->file('file');\r\n\r\n    $extension = $file->getClientOriginalExtension();\r\n\r\n    $filename = date('d-m-Y').'_'.$request->get('author').'.'.$extension;\r\n    Storage::put($filename, $file);\r\n```\r\n\r\nHowever I get the following error:\r\n\r\nS3Exception in WrappedHttpHandler.php line 162: Error executing \"HeadObject\" on \"https://s3-eu-west-1.amazonaws.com/[REDACTED]/10-06-2015_my%20file.jpg\"; AWS HTTP error: Use of undefined constant CURLOPT_PROTOCOLS - assumed 'CURLOPT_PROTOCOLS'\r\n\r\nI have cURL installed along with php5-curl on Ubuntu 14.04. I'm using HHVM 3.7.\r\n\r\nCheers in advance!"},"comment":{"url":"https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/issues/comments/111037190","html_url":"https://github.com/thephpleague/flysystem-aws-s3-v3/issues/27#issuecomment-111037190","issue_url":"https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/issues/27","id":111037190,"user":{"login":"frankdejonge","id":534693,"avatar_url":"https://avatars.githubusercontent.com/u/534693?v=3","gravatar_id":"","url":"https://api.github.com/users/frankdejonge","html_url":"https://github.com/frankdejonge","followers_url":"https://api.github.com/users/frankdejonge/followers","following_url":"https://api.github.com/users/frankdejonge/following{/other_user}","gists_url":"https://api.github.com/users/frankdejonge/gists{/gist_id}","starred_url":"https://api.github.com/users/frankdejonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankdejonge/subscriptions","organizations_url":"https://api.github.com/users/frankdejonge/orgs","repos_url":"https://api.github.com/users/frankdejonge/repos","events_url":"https://api.github.com/users/frankdejonge/events{/privacy}","received_events_url":"https://api.github.com/users/frankdejonge/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T08:13:05Z","updated_at":"2015-06-11T08:13:05Z","body":"@EwanValentine good to hear, and thanks for coming back and closing the issue :+1: "}}