Page 1 of 2

erro upload file

Posted: Sat 17. Oct 2020, 15:51
by obaviet
i setup this:

Code: Select all

php_admin_value[memory_limit] = 128M
php_admin_value[post_max_size] = 7000M
php_admin_value[upload_max_filesize] = 6400M
php_admin_value[max_execution_time] = 1800
php_admin_value[max_input_vars] = 2000
and upload a file 600mb but error

Re: erro upload file

Posted: Sat 17. Oct 2020, 15:53
by Alexander
Where have you changed the values?

Re: erro upload file

Posted: Sat 17. Oct 2020, 16:03
by obaviet
Alexander wrote: Sat 17. Oct 2020, 15:53 Where have you changed the values?
keyhelp.conf

Re: erro upload file

Posted: Sat 17. Oct 2020, 16:06
by Alexander
Have you restarted the PHP-FPM daemon?

Code: Select all

service php<x.x>-fpm restart
Replace <x.x> with your PHP Version of your operating system.

By the way, you need to increase your memory_limit as well.

Re: erro upload file

Posted: Sat 17. Oct 2020, 16:13
by obaviet
Alexander wrote: Sat 17. Oct 2020, 16:06 Have you restarted the PHP-FPM daemon?

Code: Select all

service php<x.x>-fpm restart
Replace <x.x> with your PHP Version of your operating system.

By the way, you need to increase your memory_limit as well.
Of course I resart it

Re: erro upload file  [SOLVED]

Posted: Sat 17. Oct 2020, 16:56
by george
hi Obaviet,
your memory limit must be higher than the others:

php_admin_value[memory_limit] = 128M <== TOO LOW
php_admin_value[post_max_size] = 7000M
php_admin_value[upload_max_filesize] = 6400M

If you have the memory, try:
php_admin_value[memory_limit] = 7200M

Re: erro upload file

Posted: Sat 17. Oct 2020, 17:59
by obaviet
george wrote: Sat 17. Oct 2020, 16:56 hi Obaviet,
your memory limit must be higher than the others:

php_admin_value[memory_limit] = 128M <== TOO LOW
php_admin_value[post_max_size] = 7000M
php_admin_value[upload_max_filesize] = 6400M

If you have the memory, try:
php_admin_value[memory_limit] = 7200M
I tried again but it doesn't work. I setup:
php_admin_value[memory_limit] = 1000M
php_admin_value[post_max_size] = 900M
php_admin_value[upload_max_filesize] = 800M

Re: erro upload file

Posted: Sat 17. Oct 2020, 21:38
by Tobi
Phpmyadmin never worked for me with huge uploads.
Better try bigdump.

https://www.ozerov.de/bigdump/

Re: erro upload file

Posted: Sun 18. Oct 2020, 01:49
by george
There must also be adequate time to upload:
max_execution_time

The limiting factors here are SIZE and TIME.

Note, that if phpmyadmin itself has different values for these (or any other php configs), they need to be adjusted too.

Re: erro upload file

Posted: Sun 18. Oct 2020, 11:30
by obaviet
george wrote: Sun 18. Oct 2020, 01:49 There must also be adequate time to upload:
max_execution_time

The limiting factors here are SIZE and TIME.

Note, that if phpmyadmin itself has different values for these (or any other php configs), they need to be adjusted too.
Tried again but doesn't work

Re: erro upload file

Posted: Mon 19. Oct 2020, 07:55
by obaviet
Alexander wrote: Sat 17. Oct 2020, 16:06 Have you restarted the PHP-FPM daemon?

Code: Select all

service php<x.x>-fpm restart
Replace <x.x> with your PHP Version of your operating system.

By the way, you need to increase your memory_limit as well.
I change php_admin_value[max_input_vars] = 3000
but it does'nt work
Please help me

Re: erro upload file

Posted: Mon 19. Oct 2020, 08:26
by george
For upload database, try by command line:

Code: Select all

mysql -u root -p db_name < db_name.sql

Re: erro upload file

Posted: Mon 19. Oct 2020, 14:41
by obaviet
george wrote: Mon 19. Oct 2020, 08:26 For upload database, try by command line:

Code: Select all

mysql -u root -p db_name < db_name.sql
All the errors I have encountered here are not resolved. It's a headache with it. Don't know if you got the same error as me?

Re: erro upload file

Posted: Tue 20. Oct 2020, 02:58
by george
No, I have no such errors.

If you are determined to fix this, you will need to do what is required, as we all do.
Your posts include very little that others can use to help you. If you want help to resolve this, post some useful information, mainly the content of your LOGS, when the error occurs. Checking logs for errors, is basic linux administration practice.

Forum participants appreciate posts that show the user has actually done the work to fix it - searches, manuals, forums, wikis, etc - and then present their findings. Then responses will have much more value, usually leading to a real solution. This will be based on the quality of the diagnostic output provided.

I only ever post a question on a forum, AFTER I have exhausted all other available options, and done the work required. Then I can post all the "clues" for the puzzle to be solved.

Re: erro upload file

Posted: Tue 20. Oct 2020, 08:44
by Tobi
Did you try bigdump?