Skip to content

Integration with AWS S3 storage

pavel edited this page May 7, 2016 · 8 revisions
  1. Install AWS PHP SDK version >= 3.18.0

Amazon PHP SDK installation guide: https://docs.aws.amazon.com/aws-sdk-php/v3/guide/getting-started/installation.html

If you don't have the Composer installed the simplest way to install SDK is to use ZIP archive. You can find a link to download ZIP archive in the installation guide or follow it directly: http://docs.aws.amazon.com/aws-sdk-php/v3/download/aws.zip

  1. Unzip archive to /connectors/php/plugins/s3/vendor folder

  2. Setup your S3 settings in /connectors/php/plugins/s3/config.php

  3. Open your "scripts/filemanager.config.json", and make sure the fileRoot is set to '/' and allowFolderDownload is set to false;

  4. Create default "userfiles" folder in your S3 bucket OR set root folder with setFileRoot($rootPath, true). Check how to utilize user-based folders for details.

  5. Check