php - Use of undefined constant CURLOPT_PROTOCOLS error when using Laravel and S3 -
i'm having snag storage facade in laravel 5.1 when using s3.
i have following code in controller:
$file = $request->file('file'); $extension = $file->getclientoriginalextension(); $filename = date('d-m-y').'_'.$request->get('author').'.'.$extension; storage::put($filename, $file);
however following error:
s3exception 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'
i have curl installed along php5-curl on ubuntu 14.04. i'm using hhvm 3.7.
didn't notice using hhvm. it's not supported.
see
Comments
Post a Comment