Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use it on AWS S3? #85

Open
saimunhossain opened this issue May 12, 2022 · 1 comment
Open

How to use it on AWS S3? #85

saimunhossain opened this issue May 12, 2022 · 1 comment
Assignees

Comments

@saimunhossain
Copy link

ckfinder.php
// Here aws credentials

$config['backends']['default'] = array(
'name' => 'default',
// 'adapter' => 'local',
// 'baseUrl' => config('app.url').'/userfiles/',
// 'root' => public_path('/userfiles/'),
'adapter' => 's3',
'bucket' => config('AWS_BUCKET'),
'region' => config('AWS_DEFAULT_REGION'),
'key' => config('AWS_ACCESS_KEY_ID'),
'secret' => config('AWS_SECRET_ACCESS_KEY'),
'visibility' => 'public',
'baseUrl' => config('BUCKET_URL').'/'.config('AWS_BUCKET').'/', /my aws bucket url/
'root' => config('BUCKET_URL').'/'.config('AWS_BUCKET').'/', /my aws bucket url/
'chmodFiles' => 0777,
'chmodFolders' => 0755,
'filesystemEncoding' => 'UTF-8'
);

@bmlotek
Copy link
Contributor

bmlotek commented Nov 23, 2022

Hello,

In documentation you can find example how configuration for aws s3 should look like.

For start you should delete those lines:
'chmodFiles' => 0777,
'chmodFolders' => 0755,
'filesystemEncoding' => 'UTF-8'

If you still have the problem, give me info?

@bmlotek bmlotek self-assigned this Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants