M
M
Maxim2019-04-19 09:12:51
Laravel
Maxim, 2019-04-19 09:12:51

Why is laravel storage not saving large photos?

I add photos using the
Storage::putFileAs('photos', new File('/path/to/photo'), 'photo.jpg');
Photos larger than 2mg are saved empty, what could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Q
Qu1eeeOJ, 2019-04-19
@Qu1eeeOJ

Check your Apache2 settings.
Maybe you have a download limit.
Ps maybe php is preventing you from uploading files larger than 2.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question