vendredi 27 février 2015

How do i upload to amazon s3 using Heroku composer amazon aws sdk

I'm using heroku and i'm following this tutorial here, http://ift.tt/1l0enwb


I have placed the composer require line in my composer.json file as shown below.


{ "require" : { "silex/silex": "~1.1", "monolog/monolog": "~1.7" }, "require-dev": { "heroku/heroku-buildpack-php": "*" }, "require" : { "aws/aws-sdk-php": "~2.6" } }


As you can see i placed the amazon one last. However, i'm receiving the following error message.


2015-02-27T16:26:05.499004+00:00 app[web.1]: [27-Feb-2015 16:26:05 UTC] PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /app/web/fb/fileupload.php on line 4


Does anyone know if i have to do anything other than place that line in my composer json file???? please help





Aucun commentaire:

Enregistrer un commentaire