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

laravel aliyuncs/oss-php-sdk Large file upload #224

Open
lijiangit opened this issue Feb 24, 2022 · 2 comments
Open

laravel aliyuncs/oss-php-sdk Large file upload #224

lijiangit opened this issue Feb 24, 2022 · 2 comments

Comments

@lijiangit
Copy link

When I upload a video file larger than 500m, I use postman to upload, and the status code 500 will be returned. I have checked the log file and there is no error message, but when I upload a small file, it will be uploaded normally. I use laravel 8 0 php8. 0 + my English is not very good. I translated it on the translation software

@lijiangit
Copy link
Author

I have opened the relevant configuration of PHP,file_uploads = on max_execution_time memory_limit upload_max_filesize post_max_size max_input_time,etc ,And Apache also opens the related timeout configuration ,But I just can't see the error message,did I missing something,

@alphasnow
Copy link

alphasnow commented Jun 7, 2023

You can use the appendObject method to upload a large file in segments.
By the way, You can also use aliyun-oss-laravel which is easier.
I translated it on the translation software too.
@lijiangit

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