Do these configuration changes fit my needs?

I want to get a large enough file (about 45-50 M) from the user of my application, and then move this file to another server.

I made the following changes to the configuration files, can someone comment on how I did this, or if there are any changes, please suggest.

I want to know if these changes meet my requirements (downloading a large file without time) or not?

Changes made to the php.ini file

max_execution_time = 0
max_input_time = 900
memory_limit = 128M

upload_max_filesize = 50M
post_max_size = 51M

Changes in Apache httpd.conf File

Timeout 1800

Thank.

+5
source share
2 answers

, , DOS , ( , /)

+1

, :

  • PHP
    • file_uploads
    • upload_max_filesize
    • max_input_time
    • memory_limit
    • max_execution_time
    • post_max_size
  • Apache
    • LimitRequestBody

LimitRequestBody, RPM .5MB, thsi , , .

Node.JS Apache , , .

, temp, , , Location, php , ..

+2

All Articles