Rouji / single_php_filehost

Simple Filehosting Page in a Single PHP File (obvious 0x0 clone)
ISC License
235 stars 35 forks source link

Can't upload big file. #19

Closed SergaTV closed 1 year ago

SergaTV commented 1 year ago

Little files 150mb maximum uploads, but file with size of 700mb failed to upload with error code 500.

Rouji commented 1 year ago

Probably misconfigured webserver and/or php.ini

SergaTV commented 1 year ago

i thought same but my nginx.conf's settings:

client_max_body_size 10000m;

and my php.ini's configs:

post_max_size = 10000M memory_limit = 10000M upload_max_filesize = 10000M

After trying to upload file index appears and no file is added

Also index.php: const MAX_FILESIZE = 10000;

SergaTV commented 1 year ago

Is there (maybe) pre-configured files of php-fpm and/or nginx.conf?

Rouji commented 1 year ago

There's https://github.com/Rouji/single_php_filehost_docker but that doesn't do anything special either. Are you running into timeouts somewhere maybe? Or connection problems

scriptzteam commented 1 year ago

Try set those: max_input_time max_execution_time

SergaTV commented 1 year ago

okay, sorry for issue, it was my hard drive unable to handle such speed of uploading. Thank you all.