disable upload limit

Post Reply
zemerdon
Site Admin
Posts: 239
Joined: Mon Jan 23, 2023 8:13 pm

disable upload limit

Post by zemerdon »

I figure out how to use http and php to upload a 10G file.

php.ini:

post_max_size = 0
upload_max_filesize = 0
It works in php 5.3.10.

if you do not load that file all into memory , memory_limit is unrelated.

thank you all for your help, the problem was solved by creating the
upload_size file ; priority=99
upload_max_filesize 10G
post_max_size 10G
max_input_time 3600
max_execution_time 3600
upload_tmp_dir=/var/tmp

root@DietPi4:~# cat /etc/fstab | grep nextcloud
tmpfs /mnt/dietpi_userdata/nextcloud_data/admin/uploads tmpfs size=6G,noatime,lazytime,nodev,nosuid,mode=1777
Post Reply