I'm triying to upload a 2,4GB of files to a Wordpress site hosted on my server. I already increased a lot of php.ini
resources limits, specifically:
upload_max_filesize = 7000M
post_max_size = 12000M
memory_limit = 4000M
max_execution_time = 6000
max_input_time = 3000
But when i try upload a 2.4Gb file i get the next error in the request: net::ERR_CONNECTION_REFUSED
.
My WHM&CPanel server have installed imunify360 with kernel care and PHP hardened enabled.
Answers:
@Jaromanda X - The ERR_CONNECTION_REFUSED
happens a second after upload starts, the indicador usually stops between 1.33% and 0.35%
@Nikita Kipriyanov - The logs does not specify any error, only warnings about imunify360 rules, but not blocking. The error happens when i try to upload a backup made with All-in-One WP Migration. and the ajax call is made to /wp-admin/admin-ajax.php?action=ai1wm_import&ai1wm_import=1 endpoint.
@djdomi - The free versión of plugin only allow restore a backup uploading it as normal file and with .wpress extension, i can't compress or upload directly to the server due free versión doesn't support it. I can successfully upload the file to a folder through cpanel file manager, the problem only happen uploading in media library or import interface of plugin.