This topic is locked

File Uploads

8/18/2022 7:16:04 AM
PHPRunner General questions
J
JeffDeveloper author

I hope someone has come across this issue before....

We upload a lot of documents on the application. But here's the two scenarios:

Scenario 1:
We upload a "small"(1meg) document for maybe four learners in four separate records. No issues.

Scenario 2:
We upload a "big"(20megs) document for maybe four learners in four separate records. The application gets slower and slower after you do more than 4 learners. Eventually, you have to just log out and back in again and it becomes frustrating for our users.

I have looked at increasing all these below:
post_max_size
memory_limit
max_execution_time
upload_max_filesize

The above doesn't make a difference. Can anyone perhaps point me in the right direction as to how I should be troubleshooting this?

Regards

Sergey Kornilov admin 8/18/2022

These settings will not make your app faster, these are only useful if you are getting an error related to file upload and increasing on of these limits can make the error go away.

In your situation, you need to find out what exactly causes the trouble. Is that file upload? Is that file download? Is that something else?

For starters, you need to check if the same issue happen when you test your application on a different web server, i.e. on Demo Account and on your local machine.

This article provides more info:
https://xlinesoft.com/blog/2018/05/07/troubleshooting-web-applications/