Seite 1 von 2

erro upload file

Verfasst: Sa 17. Okt 2020, 15:51
von obaviet
i setup this:

Code: Alles auswählen

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

Verfasst: Sa 17. Okt 2020, 15:53
von Alexander
Where have you changed the values?

Re: erro upload file

Verfasst: Sa 17. Okt 2020, 16:03
von obaviet
Alexander hat geschrieben:
Sa 17. Okt 2020, 15:53
Where have you changed the values?
keyhelp.conf

Re: erro upload file

Verfasst: Sa 17. Okt 2020, 16:06
von Alexander
Have you restarted the PHP-FPM daemon?

Code: Alles auswählen

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

Verfasst: Sa 17. Okt 2020, 16:13
von obaviet
Alexander hat geschrieben:
Sa 17. Okt 2020, 16:06
Have you restarted the PHP-FPM daemon?

Code: Alles auswählen

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]

Verfasst: Sa 17. Okt 2020, 16:56
von 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

Verfasst: Sa 17. Okt 2020, 17:59
von obaviet
george hat geschrieben:
Sa 17. Okt 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

Verfasst: Sa 17. Okt 2020, 21:38
von Tobi
Phpmyadmin never worked for me with huge uploads.
Better try bigdump.

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

Re: erro upload file

Verfasst: So 18. Okt 2020, 01:49
von 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

Verfasst: So 18. Okt 2020, 11:30
von obaviet
george hat geschrieben:
So 18. Okt 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

Verfasst: Mo 19. Okt 2020, 07:55
von obaviet
Alexander hat geschrieben:
Sa 17. Okt 2020, 16:06
Have you restarted the PHP-FPM daemon?

Code: Alles auswählen

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

Verfasst: Mo 19. Okt 2020, 08:26
von george
For upload database, try by command line:

Code: Alles auswählen

mysql -u root -p db_name < db_name.sql

Re: erro upload file

Verfasst: Mo 19. Okt 2020, 14:41
von obaviet
george hat geschrieben:
Mo 19. Okt 2020, 08:26
For upload database, try by command line:

Code: Alles auswählen

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

Verfasst: Di 20. Okt 2020, 02:58
von 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

Verfasst: Di 20. Okt 2020, 08:44
von Tobi
Did you try bigdump?