I am using plesk control panel and i have setted the values in /etc to php.ini to this,
; Resource Limits ;
; Maximum execution time of each script, in seconds
max_execution_time = 0
; Maximum amount of time each script may spend parsing request data. It's a good
; idea to limit this time on productions servers in order to eliminate unexpectedly
; long running scripts.
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
max_input_time = -1
; Maximum input variable nesting level
;max_input_nesting_level = 64
; Maximum amount of memory a script may consume (128MB)
memory_limit = -1
; File Uploads ;
; Whether to allow HTTP file uploads.
file_uploads = on
; Temporary directory for HTTP uploaded files (will use system default if not
;upload_tmp_dir = /var/www/vhosts/domainz.com/Temp
; Maximum allowed size for uploaded files.
upload_max_filesize = 0M
I have a forum + file hosting site. I want to get my values unlimited. Not actually unlimited but I want my users to be able to upload files till 1GB.
Currently , i can upload files less than 200 MB, and more than that gives me the progress bar rstarting. I am sure there is nothing wrong witht he scripts uploading as both forum and file sharing script do the same work.
Is there some values that i am missing ?
I wanna be able to upload big files :3
Here is something which is more clear + says what i have done till now,
I have xenforo and yetishare. In both, when i try to upload files around 256 mb, the progrss bar starts, goes till 150mb + and then the progess bar again comes back to 0% and start uploading again. It does like 4 times then shows error that the file can't be uploaded.
I have set them temp directory of php to /tmp and uploaded a .htaccess file there with this settings, [these are the only lines in it]
php_value upload_max_filesize 0
php_value post_max_size 4939212390
My file uploader, is index.php, and the .htaccess file also has the above settings as well as the folder which the files are saved also have the above settings.
You could see my php.ini settings, link i gave above.
IN httpd.conf under my httpd folder in /etc i have set timeout to 900.
I couldn't find limit request body anywhere.
In php.conf, i have added this to the last section,
and i have added this line to fcgid.conf,