-
Notifications
You must be signed in to change notification settings - Fork 0
Integration with AWS S3 storage
- 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
-
Unzip archive to /connectors/php/plugins/s3/vendor folder
-
Setup your S3 settings in /connectors/php/plugins/s3/config.php
-
Open your "scripts/filemanager.config.json", and make sure the
fileRoot
is set to '/' andallowFolderDownload
is set to false; -
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. -
Check