erro upload file  [SOLVED]

obaviet
Posts: 14
Joined: Sat 17. Oct 2020, 14:39

erro upload file

Post 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
Attachments
Screenshot 2020-10-17 204745.png
User avatar
Alexander
Keyweb AG
Posts: 3809
Joined: Wed 20. Jan 2016, 02:23

Re: erro upload file

Post by Alexander »

Where have you changed the values?
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
obaviet
Posts: 14
Joined: Sat 17. Oct 2020, 14:39

Re: erro upload file

Post by obaviet »

Alexander wrote: Sat 17. Oct 2020, 15:53 Where have you changed the values?
keyhelp.conf
User avatar
Alexander
Keyweb AG
Posts: 3809
Joined: Wed 20. Jan 2016, 02:23

Re: erro upload file

Post 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.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
obaviet
Posts: 14
Joined: Sat 17. Oct 2020, 14:39

Re: erro upload file

Post 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
User avatar
george
Posts: 87
Joined: Fri 3. Jan 2020, 05:53
Location: AUSTRALIA

Re: erro upload file  [SOLVED]

Post 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
obaviet
Posts: 14
Joined: Sat 17. Oct 2020, 14:39

Re: erro upload file

Post 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
User avatar
Tobi
Community Moderator
Posts: 2812
Joined: Thu 5. Jan 2017, 13:24

Re: erro upload file

Post by Tobi »

Phpmyadmin never worked for me with huge uploads.
Better try bigdump.

https://www.ozerov.de/bigdump/
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
User avatar
george
Posts: 87
Joined: Fri 3. Jan 2020, 05:53
Location: AUSTRALIA

Re: erro upload file

Post 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.
obaviet
Posts: 14
Joined: Sat 17. Oct 2020, 14:39

Re: erro upload file

Post 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
obaviet
Posts: 14
Joined: Sat 17. Oct 2020, 14:39

Re: erro upload file

Post 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
Attachments
screenshot-coolingtower.net.vn-2020.10.19-12_54_15.png
User avatar
george
Posts: 87
Joined: Fri 3. Jan 2020, 05:53
Location: AUSTRALIA

Re: erro upload file

Post by george »

For upload database, try by command line:

Code: Select all

mysql -u root -p db_name < db_name.sql
obaviet
Posts: 14
Joined: Sat 17. Oct 2020, 14:39

Re: erro upload file

Post 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?
User avatar
george
Posts: 87
Joined: Fri 3. Jan 2020, 05:53
Location: AUSTRALIA

Re: erro upload file

Post 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.
User avatar
Tobi
Community Moderator
Posts: 2812
Joined: Thu 5. Jan 2017, 13:24

Re: erro upload file

Post by Tobi »

Did you try bigdump?
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Locked